SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1
What is the product ID of the most frequently ordered item on invoices?
SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT ( * ) DESC LIMIT 1
select product_id from invoices group by product_id order by count ( * ) desc limit value
What is the product ID of the most frequently ordered item on invoices ?