// practice with purpose · master the craft

SQL Practice Library

90+ interview-style problems. Filter by difficulty, track progress, and level up your SQL skills.

// LEVEL UP WITH A CHALLENGE

Pack 0
Q.1
TrustpilotBeginner

The Unreviewed Orders

Q.2
AirbnbBeginner

The Duplicate Email Finder

Q.3
MeeshoBeginner

The Discount Hunters

Q.4
NetflixIntermediate

The Ranking Games

Q.5
HotstarIntermediate

The Multi-Device Users

Q.6
PayPalIntermediate

The Running Total Revelation

Q.7
UberIntermediate

The Churn Detector

Q.8
AirbnbAdvanced

The Cohort Survival Analysis

Q.9
DuolingoAdvanced

The Consecutive Login Streak

Q.10
RazorpayAdvanced

The Fraud Ring Investigation

Q.11
CitibankBeginner

The Big Spender Threshold

Q.12
EtsyBeginner

The Inactive Sellers

Q.13
ZomatoBeginner

The Weekend Warriors

Q.14
GoogleIntermediate

The Manager Salary Paradox

Q.15
MyntraIntermediate

The Category Revenue Split

Q.16
NykaaIntermediate

The Repeat Buyer Rate

Q.17
CREDIntermediate

The Support Ticket Escalation

Q.18
BharatPeAdvanced

The Median Transaction Value

Q.19
PhonePeAdvanced

The Session Depth Funnel

Q.20
RazorpayAdvanced

The Revenue Attribution Gap

Pack 1
Q.21🔒
NoonBeginner

The Average Rating by Category

Q.22🔒
ZeptoBeginner

The Referral Champions

Q.23🔒
FlipkartBeginner

The Dormant Products

Q.24🔒
BigBasketIntermediate

The Average Order Gap

Q.25🔒
FlipkartIntermediate

The N+1 Product Basket

Q.26🔒
PaytmIntermediate

The Promotion Cannibalisation Test

Q.27🔒
GrowwAdvanced

The Rolling 7-Day Revenue

Q.28🔒
PhonePeAdvanced

The Attribution Model Showdown

Q.29🔒
RazorpayAdvanced

The Silent Merchants

Q.30🔒
SwiggyAdvanced

The Reactivation Window

Q.31🔒
AmazonBeginner

The First Purchase

Q.32🔒
NoonBeginner

The Bestseller Badge

Q.33🔒
SwiggyBeginner

The Late Night Orders

Q.34🔒
FreshdeskIntermediate

The Agent Performance Scorecard

Q.35🔒
NotionIntermediate

The Subscription Upgrade Tracker

Q.36🔒
RazorpayIntermediate

The Cross-Sell Opportunity

Q.37🔒
UberAdvanced

The Percentile Performers

Q.38🔒
BlinkitAdvanced

The Inventory Stockout Predictor

Q.39🔒
FlipkartAdvanced

The Price Elasticity Signal

Q.40🔒
FigmaAdvanced

The Feature Adoption Cascade

Pack 2
Q.41🔒
SlackBeginner

The Power Users

Q.42🔒
DelhiveryBeginner

The City Leaderboard

Q.43🔒
SalesforceBeginner

The High Value Signups

Q.44🔒
HDFCIntermediate

The Flagged Transaction Neighbours

Q.45🔒
SwiggyIntermediate

The Churned High Spenders

Q.46🔒
ZomatoIntermediate

The Channel Efficiency Index

Q.47🔒
OlaAdvanced

The Dynamic Pricing Outliers

Q.48🔒
MeeshoAdvanced

The Customer Journey Reconstruction

Q.49🔒
YouTubeAdvanced

The Engagement Score Decay

Q.50🔒
BankBazaarAdvanced

The Loan Default Early Warning

Q.51🔒
GlassdoorBeginner

The Top Paying Industries

Q.52🔒
ZeptoBeginner

The Zero Stock Alert

Q.53🔒
LinkedInBeginner

The Incomplete Profiles

Q.54🔒
ShopifyIntermediate

The Monthly Revenue Machine

Q.55🔒
ShopeeIntermediate

The Revenue Cliff

Q.56🔒
ThoughtworksIntermediate

The Mentor Matching Gap

Q.57🔒
InfosysAdvanced

The Hierarchical Budget Rollup

Q.58🔒
IntercomAdvanced

The Time-to-First-Value

Q.59🔒
PaytmAdvanced

The Session Overlap Detector

Q.60🔒
SalesforceAdvanced

The Contract Renewal Risk Index

Pack 3
Q.61🔒
CloudflareAdvanced

The Spike Detector

Q.62🔒
FlipkartAdvanced

The Inventory Reorder Cascade

Q.63🔒
SpotifyAdvanced

The Predictive Churn Score

Q.64🔒
LinkedInAdvanced

The Sparse Activity Matrix

Q.65🔒
AmexAdvanced

The Wallet Share Tracker

Q.66🔒
GrabAdvanced

The Geographic Revenue Concentration

Q.67🔒
HotstarAdvanced

The Sessionisation Engine

Q.68🔒
StripeAdvanced

The Customer Lifetime Segmentation

Q.69🔒
NetflixAdvanced

The Capacity Crunch Forecaster

Q.70🔒
FlipkartAdvanced

The Personalised Discount Eligibility Engine

Q.71🔒
SAPAdvanced

The Cascading Cancellation Impact

Q.72🔒
TwitterAdvanced

The Network Influence Score

Q.73🔒
ServiceNowAdvanced

The SLA Breach Prediction

Q.74🔒
MastercardAdvanced

The Fraud Velocity Fingerprint

Q.75🔒
HubSpotAdvanced

The Deal Velocity Ranking

Q.76🔒
McKinseyAdvanced

The Dynamic Pivot — Sales by Quarter

Q.77🔒
WhatsAppAdvanced

The Viral Loop Coefficient

Q.78🔒
SnowflakeAdvanced

The Slowly Changing Dimension Type 2

Q.79🔒
AdobeAdvanced

The Subscription Cliff Calendar

Q.80🔒
ESPNAdvanced

The Tournament Bracket Simulator

Pack 4
Q.81🔒
SAPExpert

The Inventory FIFO Cost Calculator

Q.82🔒
DeloitteExpert

The Recursive Employee Payroll Rollup

Q.83🔒
UnitedHealthExpert

The Gaps and Islands — Subscription Continuity

Q.84🔒
SalesforceExpert

The Deduplication with Business Priority Rules

Q.85🔒
AirbnbExpert

The Funnel Drop-off with Time Constraints

Q.86🔒
DatadogExpert

The Percentile Bucketing with Interpolation

Q.87🔒
PhonePeExpert

The Customer Churn Prediction Feature Store

Q.88🔒
WalmartExpert

The Market Basket — Association Rule Mining

Q.89🔒
ZerodhaExpert

The Time-Weighted Average Price

Q.90🔒
MaerskExpert

The Supply Chain — Lead Time Variance Analysis

Q.91🔒
Booking.comExpert

The Booking Availability Calendar

Q.92🔒
StripeExpert

The User Lifetime Value Curve

Q.93🔒
NetflixExpert

The Median of Medians — Nested Percentiles

Q.94🔒
VisaExpert

The Fraud Ring Detection via Graph Clustering

Q.95🔒
AmazonExpert

The Inventory Turnover with Reorder Point

// FAQ

SQL Practice Questions — FAQ

How do I practice these SQL interview questions?

Open any unlocked question, read the problem statement and schema, write your query in the in-browser SQL editor, and run it. SqlInt compares your output to the expected result and gives instant feedback — no setup required. Free access starts with the starter question pack.

Are the SQL questions really from interviews?

The question bank mirrors the patterns asked in real data-analyst, data-engineer, and backend interviews — joins, aggregations, window functions, deduplication, and ranking problems — organized by difficulty and company where applicable.

What difficulty levels are available?

Questions are grouped into Beginner, Intermediate, Advanced, and Expert. Filter by difficulty to practice progressively and track your solved and visited progress as you go.

Can I practice SQL without signing up?

No — a free account is required to open the SQL editor and solve problems, including the free starter pack. Signup is free and takes about a minute, and logging in keeps your solving progress saved across devices. The mini tools and the learning roadmap work without an account.

Is there an answer or solution for each question?

Yes — every unlocked question includes a reference solution, an explanation, and progressive hints. Free access covers the starter question pack; the full bank of premium questions (each with its own problem statement, schema, hints, and reference solution) is part of the paid challenge packs.

How long does it take to prepare for a SQL interview?

It depends on your starting level, but a focused plan is typically 2–4 weeks: master SELECT, JOINs, and aggregations first, then practice window functions, CTEs, and ranking problems daily. A consistent 30–60 minutes of solving real questions a day is often enough to reach interview readiness.