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.
Loading…
Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.
Ask questions, share alternate queries, and explore solutions
Your recent query executions and answer checks
This will insert the verified MySQL solution into your editor so you can study how each clause transforms the table.