Skip to content

All company names, logos, and trademarks are the property of their respective owners. Their use is for identification purposes only and does not imply endorsement.

LDS Amazon-Style SQL 3030 Curated SQL Problems

A round-by-round simulator of Amazon's data interview loop, from the OA Sprint through the Bar Raiser. Schemas mirror what Amazon's teams actually work on day-to-day (retail, marketplace, logistics), and every harder problem carries the kind of probing follow-up an L6 interviewer would press on — scale, cost, ownership. Not affiliated with Amazon; built from publicly reported 2025–2026 loops.

Problems included in LDS Amazon-Style SQL 30

  1. Confirmed Orders With Captured Charge
  2. Orders With Customer Details
  3. Average Billed for Delivered Orders
  4. Orders Above Average Billed
  5. Customers from US or Canada
  6. Delivered Shipments Backed by Captured Charge
  7. Active Home Products Never Ordered
  8. Products Ordered But Never Returned
  9. Rank Sellers by Revenue
  10. Month-over-Month Order Volume Change
  11. Top 3 Customers by Spending Per State, With Ties
  12. Customers With Recent Delivered Orders (60 Days)
  13. Orders Above Average Within Shipping Tier
  14. Customers Without Refunds in the Last 90 Days
  15. Latest Captured Payment per Purchase
  16. Top Two Recent Delivered Orders per Customer
  17. Customers Who Re-ordered Within 7 Days
  18. Top Products by Recent Units Delivered (90 Days)
  19. Top 3 Line Items per Product — Last 60 Days
  20. Customer Running Spend — Last 90 Days
  21. Carrier Shipping Cost 3-Shipment Moving Average
  22. Month-over-Month Seller Revenue Growth
  23. Top 3 Sellers per Category, With Ties
  24. Customers Who Bought Electronics But Never Toys
  25. Products Frequently Bought Together
  26. Day-1 Retention Rate
  27. Top 5 Customers by Weekday Orders in the Last 30 Days
  28. Orders With Shipment Data Quality Issues
  29. Daily Revenue Anomaly Flag — 7-Day Rolling Deviation
  30. Top 3 Products by Month-Over-Month Growth