I would like to display the top 3 records from the existing Orders table. In order to accomplish this, I need to calculate the sum of each product\'s quanti
SELECT TOP 3 ProductID, SUM(Quantity) as SUMQUANTITY FROM Table1 GROUP BY ProductID ORDER BY SUMQUANTITY desc
SQL Fiddle Demo