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 Date & Time 20 — 20 Curated SQL Problems
A 5-stage progression from date filters and arithmetic (`DATE`, `JULIANDAY`, `strftime`) through monthly bucketing and aging tiers, up to time-series window functions and a multi-CTE LTV capstone. Twenty problems on 15 production-grade schemas — the thinnest SQL skill most candidates show up with, and the fastest one to fix.
Problems included in LDS SQL Date & Time 20
- Campaigns Launched in Last 30 Days
- December 2024 Orders
- Users Who Joined in 2024
- Claims Submitted in Last 90 Days
- Average Invoice Processing Time
- Average Booking Lead Time by Channel
- Average Delivery Lead Time by Service Level
- Average Authorization-to-Capture Time by Merchant
- Monthly Transaction Volume by Type
- Tickets Grouped by Creation Month
- Avg Days to Conversion by Month and Type
- Price Changes by Month and Direction
- Tickets With Resolution Time Tier
- Average Trip Duration by Hour of Day
- Loan Payment Interval Analysis
- Late Deliveries by Hour of Day
- Previous Day Close and Daily Return
- Daily Shipping Cost Running Total per Warehouse
- Monthly Comment Moving Average
- Subscriber Lifetime Value Report