List categories that have at least two books after year 1989.
CREATE TABLE book_club (category VARCHAR, YEAR INTEGER)
SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE book_club (category VARCHAR, YEAR INTEGER) Question: List categories that have at least two books after year 1989. [/INST] SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 2 </s>