question: Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
answer: SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no"
context: CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)