Stripe
Foundations Track · Easy · 15 min
Top Sellers By Gross Sales
Stripe is reviewing top sellers by gross sales through a operations review. Return the top 3 sellers by total_gross_sales. Output seller_id and total_gross_s...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Stripe-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.
Stripe is reviewing top sellers by gross sales through a operations review. Return the top 3 sellers by total_gross_sales. Output seller_id and total_gross_sales sorted by total_gross_sales descending, then seller_id.
seller_orders
| seller_id | order_id | gross_sales | 2 |
|---|---|---|---|
| 10 | 1 | 1200.00 | |
| 10 | 2 | 800.00 | |
| 20 | 3 | 950.00 | |
| 20 | 4 | 720.00 | |
| 30 | 5 | 1600.00 | |
| 40 | 6 | 400.00 | |
| 30 | 7 | 500.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.