In which year were most of ships built?
CREATE TABLE ship (built_year VARCHAR)
SELECT TOP 1 built_year FROM ship GROUP BY built_year ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ship (built_year VARCHAR) Question: In which year were most of ships built? [/INST] SELECT TOP 1 built_year FROM ship GROUP BY built_year ORDER BY COUNT(*) DESC </s>