SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Amazon: Marketplace Seller Return Rate

Unsolved

Amazon Seller Performance audits high-return merchants to maintain buyer trust. Write a query to find all sellers who have fulfilled at least 5 distinct orders and have a return rate strictly greater than 10.0%. For each qualifying seller, return `seller_id`, `seller_name`, `total_orders` (count of distinct orders fulfilled), and `return_rate` (calculated as `100.0 * total_returns / total_orders` rounded to 2 decimal places). Order results by `return_rate DESC`, and by `seller_id ASC` in case of ties.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Amazon

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM sellers
Full source dataset
6 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine