Foundations Track · Medium · 25 min
Cross-Region Sellers
Commerce wants to identify sellers with broad geographic reach. Return seller_id and total_gross_sales for sellers that sold in at least three distinct regio...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Pinterest-tagged business scenario.
Approach
Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.
Company context
Company labels are directional practice context, not official interview guidance.
Commerce wants to identify sellers with broad geographic reach. Return seller_id and total_gross_sales for sellers that sold in at least three distinct regions. Sort by total_gross_sales descending, then seller_id.
seller_orders
| seller_id | region | |
|---|---|---|
| 10 | NA | 1200.00 |
| 10 | EMEA | 900.00 |
| 10 | APAC | 700.00 |
| 20 | NA | 1500.00 |
| 20 | EMEA | 300.00 |
| 30 | NA | 400.00 |
| 30 | EMEA | 500.00 |
| 30 | LATAM | 450.00 |
| 30 | APAC | 350.00 |
SQL workspace
Run queries against the protected question data, then submit once the result shape looks right.
Sign in to run SQL
Create a free account or sign in before running queries against protected question data.