SELECT Year, SUM(amount) AS Q1
From SalesByQuarter GROUP BY Year, Quarter
HAVING quarter='Q1'
ORDER BY Year DESC
a
b
