📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which statement shows total sales per month in descending order of total?

A. SELECT Month, SUM(Amount) AS Total FROM Sales GROUP BY Month ORDER BY Total DESC ✅
B. SELECT Month, SUM(Amount) FROM Sales ORDER BY Month DESC
C. SELECT Month FROM Sales GROUP BY Month ORDER BY Amount
D. SELECT SUM(Amount) FROM Sales GROUP BY Month

Correct Answer: A. SELECT Month, SUM(Amount) AS Total FROM Sales GROUP BY Month ORDER BY Total DESC

Explanation

GROUP BY Month totals sales per month, and ORDER BY Total DESC lists the largest monthly total first.