PostgreSQL - Aggregate Functions and GROUP BY
How can you combine
GROUPING SETS with ROLLUP to get totals by department, and by department-month with subtotals for department and grand total?