SQL Practice
Real-life business problems on real tables. Read the scenario, write the query, and get it checked instantly.
Basic10 pts
Customers from Lahore
SELECT & Filtering
Solve challengeBasic10 pts
Premium products above Rs 1,000
Sorting & Limits
Solve challengeBasic10 pts
How many orders were cancelled?
Aggregation
Solve challengeBasic10 pts
VIP outreach in emerging markets
SELECT & Filtering
Solve challengeBasic10 pts
Five fattest margins in Electronics
Sorting & Limits
Solve challengeBasic10 pts
Which sales channel loses the most orders?
Aggregation
Solve challengeBasic10 pts
How long does a parcel really take?
String & Date Functions
Solve challengeBasic10 pts
Signed up, never bought
Joins
Solve challengeBasic10 pts
Flagged card payments for the fraud desk
SELECT & Filtering
Solve challengeBasic10 pts
The five biggest paying plans right now
Sorting & Limits
Solve challengeBasic10 pts
How healthy is the loan book?
Aggregation
Solve challengeBasic10 pts
On time, late or still unpaid?
NULL & CASE
Solve challengeBasic10 pts
Payday money by month
String & Date Functions
Solve challengeBasic10 pts
Well-paid 2025 hires in Western Europe
SELECT & Filtering
Solve challengeBasic10 pts
The five biggest cheques in the transfer market
Sorting & Limits
Solve challengeBasic10 pts
Where does the payroll sit?
Aggregation
Solve challengeBasic10 pts
Length of stay month by month in 2025
String & Date Functions
Solve challengeBasic10 pts
Who is still in a bed?
NULL & CASE
Solve challengeBasic10 pts
Long-haul legs over 9,000 km
SELECT & Filtering
Solve challengeBasic10 pts
The five priciest tickets
Sorting & Limits
Solve challengeBasic10 pts
Zoomi city revenue scoreboard
Aggregation
Solve challengeBasic10 pts
Which weekday does the airline fly most?
String & Date Functions
Solve challengeBasic10 pts
How many completed trips never got a rating?
NULL & CASE
Solve challengeBasic10 pts
Premium fans in Brazil, Mexico and Turkey
SELECT & Filtering
Solve challengeBasic10 pts
The long play playlist
Sorting & Limits
Solve challengeBasic10 pts
Where do our listeners live?
Aggregation
Solve challengeBasic10 pts
Age groups and the people who never told us
NULL & CASE
Solve challengeBasic10 pts
Handle generator for the Q1 2026 sign-ups
String & Date Functions
Solve challenge