Hernando Abella

Sales Insights Dashboard · Step 4 of 7

Write and verify core SQL metrics

Write saved queries for monthly revenue, product performance, repeat customers, and regional comparisons. Use deliberate date boundaries.

Understand

Joins and aggregations can multiply values if the table grain is misunderstood.

Build

Check each query against a tiny hand-calculated example and inspect intermediate join row counts before trusting totals.

Check

Totals do not inflate after joins and each query matches its documented definition.

Try it

Compare order count with distinct customer count and explain why they answer different questions.