How many documents can one grant have at most? List the grant id and number.
CREATE TABLE Documents (grant_id VARCHAR)
SELECT TOP 1 grant_id, COUNT(*) FROM Documents GROUP BY grant_id ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (grant_id VARCHAR) Question: How many documents can one grant have at most? List the grant id and number. [/INST] SELECT TOP 1 grant_id, COUNT(*) FROM Documents GROUP BY grant_id ORDER BY COUNT(*) DESC </s>