SQL Practice

Real-life business problems on real tables. Read the scenario, write the query, and get it checked instantly.

Leaderboard
Basic10 pts

Customers from Lahore

SELECT & Filtering

Solve challenge
Basic10 pts

Premium products above Rs 1,000

Sorting & Limits

Solve challenge
Basic10 pts

How many orders were cancelled?

Aggregation

Solve challenge
Basic10 pts

VIP outreach in emerging markets

SELECT & Filtering

Solve challenge
Basic10 pts

Five fattest margins in Electronics

Sorting & Limits

Solve challenge
Basic10 pts

Which sales channel loses the most orders?

Aggregation

Solve challenge
Basic10 pts

How long does a parcel really take?

String & Date Functions

Solve challenge
Basic10 pts

Signed up, never bought

Joins

Solve challenge
Basic10 pts

Flagged card payments for the fraud desk

SELECT & Filtering

Solve challenge
Basic10 pts

The five biggest paying plans right now

Sorting & Limits

Solve challenge
Basic10 pts

How healthy is the loan book?

Aggregation

Solve challenge
Basic10 pts

On time, late or still unpaid?

NULL & CASE

Solve challenge
Basic10 pts

Payday money by month

String & Date Functions

Solve challenge
Basic10 pts

Well-paid 2025 hires in Western Europe

SELECT & Filtering

Solve challenge
Basic10 pts

The five biggest cheques in the transfer market

Sorting & Limits

Solve challenge
Basic10 pts

Where does the payroll sit?

Aggregation

Solve challenge
Basic10 pts

Length of stay month by month in 2025

String & Date Functions

Solve challenge
Basic10 pts

Who is still in a bed?

NULL & CASE

Solve challenge
Basic10 pts

Long-haul legs over 9,000 km

SELECT & Filtering

Solve challenge
Basic10 pts

The five priciest tickets

Sorting & Limits

Solve challenge
Basic10 pts

Zoomi city revenue scoreboard

Aggregation

Solve challenge
Basic10 pts

Which weekday does the airline fly most?

String & Date Functions

Solve challenge
Basic10 pts

How many completed trips never got a rating?

NULL & CASE

Solve challenge
Basic10 pts

Premium fans in Brazil, Mexico and Turkey

SELECT & Filtering

Solve challenge
Basic10 pts

The long play playlist

Sorting & Limits

Solve challenge
Basic10 pts

Where do our listeners live?

Aggregation

Solve challenge
Basic10 pts

Age groups and the people who never told us

NULL & CASE

Solve challenge
Basic10 pts

Handle generator for the Q1 2026 sign-ups

String & Date Functions

Solve challenge