PostgreSQL - Aggregate Functions and GROUP BY
Consider the table
orders with columns country, category, and sales. What rows will the following query return?SELECT country, category, SUM(sales) FROM orders GROUP BY CUBE(country, category);
