Question: How many apartments do not have any facility?
Schema: create table apartment_facilities (apt_id varchar, PRIMARY KEY (apt_id)); create table apartments (apt_id varchar, PRIMARY KEY (apt_id))
SQL: select count(*) from apartments where not apt_id in (select apt_id from apartment_facilities)