Search ⌘K
Pinterest
Pinterest

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...

Foundations Track
Medium
25 min
query basics
aggregation
filtering

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

Timer 00:00
Back to practice

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.

Prereq: query basics
Prereq: filtering

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 INT
region VARCHAR(20
seller_idregion
10NA1200.00
10EMEA900.00
10APAC700.00
20NA1500.00
20EMEA300.00
30NA400.00
30EMEA500.00
30LATAM450.00
30APAC350.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.