What is the product ID of the most frequently ordered item on invoices?
CREATE TABLE INVOICES (Product_ID VARCHAR)
SELECT TOP 1 Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE INVOICES (Product_ID VARCHAR) Question: What is the product ID of the most frequently ordered item on invoices? [/INST] SELECT TOP 1 Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC </s>