Why These 50?
Hand-curated for maximum interview ROI.
A Curriculum, Not a Catalog
Five stages of ten problems, each building on the last. You never wonder what to do next — Stage 1 to Stage 5 takes you from SELECT to multi-CTE business scorecards. No random pattern-jumping.
Industry-Grade Multi-Table Schemas
Every problem runs on 8–15 table production schemas modeled on real businesses — retail, social, fintech, healthcare. The same shape of query you’d actually write at a Stripe, Airbnb, or Uber.
Both SQLite and PostgreSQL
Toggle dialects with a single click on any problem. Learn the cross-dialect differences as you go, so you’re never blindsided when you switch from one company’s stack to another.
Skill Coverage
How the 50 problems distribute across SQL topics.
FAQ
The first 10 problems (Stage 1) are completely free.
Stages 2-5 require a Premium subscription, which gives you access to all 1,500+ problems across 15 production-grade datasets.
Ready to Master SQL?
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 SQL 50 — 50 Curated SQL Problems
A 5-stage progression that takes you from basic WHERE filters through window functions to staff-level multi-CTE scorecards, structured across 15 production-grade schemas so the same pattern shows up in different domains until it sticks. The closest LDS has to a "Blind 75" for SQL — start here if you only do one collection.
Problems included in LDS SQL 50
- Active Search Campaigns by Budget
- Active PPO Plans With Prescription Coverage
- Active Five-Star Hotels
- Open High-Rated Restaurants
- Active E-Commerce Merchants
- Active Sale Listings
- Active Electronics Products
- Active Enterprise Organizations
- Active Users in Target Countries
- Active Residential Customers
- Active Campaigns With Advertiser Industry
- Transactions With Account and Customer Details
- User Total Portfolio Value
- Bookings With Guest and Room Info
- Orders With Customer Details
- Deliveries With Courier Info
- Trips With Rider Details
- Charges With Customer and Payment Method
- Order Items With Product Info
- Customers Without Any Support Tickets
- Trade Volume by Security
- Average Monthly Bill by Customer Segment
- On-Time Delivery Rate by Carrier
- Top 5 Riders by Total Spending
- Rank Campaigns by Spend per Advertiser
- User Sequence Number Within Organization
- Transaction Amount Change With LAG
- Daily Revenue Running Total per Property
- Monthly Watch Hours Moving Average
- Highest Rated Delivery per Courier
- Charge Amount Quartile Analysis
- Top 5 Agents by Listing Count
- Advertisers With High Credit Utilization
- Patients Above Plan Average Paid Amount
- Promo Code Effectiveness Report
- Users With Both Inquiries and Tours
- Sellers With Orders But No Returns
- Late Deliveries by Carrier and Delay Duration
- Dispute Resolution Time Analysis
- Overdue Invoices by Aging Bucket
- Content Moderation Risk Score
- Properties With Bookings or Reviews
- Campaign Health Scorecard
- Customer Relationship Depth Summary
- Property Operations Dashboard
- Warehouse Operations Dashboard
- Merchant Health Scorecard
- Marketplace Operations Dashboard
- Customer 360 Summary
- Customer Churn Risk Assessment