1. If a table has 4 distinct states and 3 distinct loyalty tiers, what is the maximum number of rows returned by GROUP BY state, loyalty_tier?
- 7 rows
- 12 rows
- 4 rows
- 1 row
Hint: Grouping by multiple columns evaluates all unique combinations of the grouping keys (Cartesian product of the distinct values present, maximum 4 * 3 = 12).