Show all the buildings that have at least 10 professors.
CREATE TABLE Faculty (building VARCHAR, rank VARCHAR)
SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Faculty (building VARCHAR, rank VARCHAR) Question: Show all the buildings that have at least 10 professors. [/INST] SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10 </s>