Which origin has most number of flights?
CREATE TABLE Flight (origin VARCHAR)
SELECT TOP 1 origin FROM Flight GROUP BY origin ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Flight (origin VARCHAR) Question: Which origin has most number of flights? [/INST] SELECT TOP 1 origin FROM Flight GROUP BY origin ORDER BY COUNT(*) DESC </s>