SQL GROUP BY query to aggregate sales by country and month. Includes pivot tables, running totals, year-over-year comparison, and revenue ranking.