Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)
SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. 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? [/INST] SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no" </s>