Question: Show the apartment numbers, start dates, and end dates of all the apartment bookings.
Schema: create table apartment_bookings (booking_start_date varchar, apt_id varchar, PRIMARY KEY (booking_start_date)); create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number))
SQL: select t2.apt_number, t1.booking_start_date, t1.booking_start_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id