Skip to content

Why These 30?

Hand-curated for maximum interview ROI.

A 6-Stage Amazon Loop Simulator

Six stages that map exactly to Amazon’s real loop — OA Sprint → Technical Phone Screen → SQL & Data Modeling → Onsite Analytics → Business Scorecards → Bar Raiser. Stage 6 is intentionally empty; Bar Raisers don’t code SQL and we won’t fake it.

A Retail & Marketplace Schema Modeled on Amazon

Every question runs on a production-grade retail and marketplace schema covering orders, fulfillment, shipping, customer reviews, third-party sellers — the same domain Amazon data interviewers actually work in.

Leadership Principles + L6+ Probing Built In

Every d3 and d4 explainer ends with the senior-level extensions Amazon interviewers ask: which LP this screens for, how the query scales across 14 marketplaces, where you’d add an index, who you’d align with on metric ownership.

Skill Coverage

How the 30 problems distribute across SQL topics.

Single-Table Filtering & Aggregation
3
Multi-Table JOIN / EXISTS Relational
4
Anti-Join (NOT EXISTS / NOT IN / EXCEPT / LEFT+IS NULL)
5
Single-CTE & Subquery Threshold
3
ROW_NUMBER Top-N Within Group
4
RANK / DENSE_RANK Window Functions
4
LAG / Window Lag (basic + partition)
3
SUM OVER / Running Total
1
AVG OVER ROWS BETWEEN / Moving Average
2
Self-Join (reorder + frequently-bought-together)
2
Date Bucketing (strftime / DOW / date-range)
4
Multi-Tier CASE Classification (Data Quality + Anomaly)
2
Multi-CTE Pipelines (2+ CTEs)
9
UNION / EXCEPT Set Operations
2

FAQ

No. This collection is not affiliated with, endorsed by, or sponsored by Amazon.

The 30 problems are designed to mirror the analytical patterns publicly reported in Amazon SQL interviews — sourced from our curated catalog. Production-grade schemas are modeled on the Amazon retail, marketplace, payments, and logistics domains.

"Amazon-style" describes the format and pattern coverage, nothing more.

Ready for your Amazon interview?

Start with Stage 1 — graded instantly in your browser.

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