SQL FOR BUSINESS ANALYSTS · REFERENCE CARD
Conditional totals and pivot-style reports in a query
Group many rows into one line each, with a column per status. Learn conditional totals with CASE (a rule-based choice) and a row filter, and when a pivot report fits.
Derived from Conditional totals and pivot-style reports in a query. Every claim on this card is sourced on that page. All business analysis reference cards.