Table schema:
CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)

Question: Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
SQL: SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no"