Search ⌘K
Amazon
Amazon

Foundations Track · Easy · 15 min

Top Sellers By Gross Sales

Use this Amazon planning note to work on top sellers by gross sales. Return the top 3 sellers by total_gross_sales. Output seller_id and total_gross_sales so...

Foundations Track
Easy
15 min
query basics

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Amazon-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.

Use this Amazon planning note to work on top sellers by gross sales. 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 INT
order_id INT
gross_sales NUMERIC(10
2
seller_idorder_idgross_sales2
1011200.00
102800.00
203950.00
204720.00
3051600.00
406400.00
307500.00
Editor
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.