What are the names of the states where at least 3 heads were born?
CREATE TABLE head (born_state VARCHAR)
SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE head (born_state VARCHAR) Question: What are the names of the states where at least 3 heads were born? [/INST] SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3 </s>