CREATE TABLE View_Unit_Status (apt_id VARCHAR(255), available_yn VARCHAR(255)); CREATE TABLE Apartments (apt_number VARCHAR(255), apt_id VARCHAR(255))
Show the apartment numbers of apartments with unit status availability of both 0 and 1.
    
SQL: SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id = T2.apt_id WHERE T2.available_yn = 0 INTERSECT SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id = T2.apt_id WHERE T2.available_yn = 1