What are the booking start and end dates of the apartments with type code "Duplex"?
create table apartments (apt_id varchar, apt_type_code varchar, PRIMARY KEY (apt_id)); create table apartment_bookings (booking_start_date varchar, apt_id varchar, PRIMARY KEY (booking_start_date))
select t1.booking_start_date, t1.booking_start_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t2.apt_type_code = "duplex"