At midnight a confidential file leaked. You have the door logs, file access and VPN logins: find the culprit with your queries.
- 01The trailEasy
- 02Working lateMedium
- 03The server roomMedium
- 04From outsideMedium
- 05SuspectsHard
- 06The culpritHard
Practice
Every task outside the story, easy to hard: over a company's staff and an online shop's orders. Each one teaches a different part of SQL.
0/57
- First queryEasy
- FilterEasy
- Several conditionsEasy
- Top three salariesEasy
- Starts with a letterEasy
- Missing valuesEasy
- Team leadsEasy
- How many?Easy
- Per departmentEasy
- Average salaryEasy
- No repeatsEasy
- A rangeEasy
- A computed columnEasy
- Sort by two keysEasy
- All but theseEasy
- Page twoEasy
- Cheapest and dearestEasy
- Join textEasy
- In place of nothingEasy
- March ordersEasy
- Busy departmentsMedium
- Monthly salesMedium
- Top sellerMedium
- Join tablesMedium
- Nobody left outMedium
- ManagersMedium
- The Orion teamMedium
- No projectMedium
- Project hoursMedium
- Above averageMedium
- The sales cityMedium
- SellersMedium
- Label themMedium
- The weekendMedium
- Group by two columnsMedium
- Conditional countsMedium
- How many different customers?Medium
- Basket totalMedium
- Sold but never reviewedMedium
- A score you can trustMedium
- What per cent?Medium
- Top of each departmentHard
- Above the department averageHard
- Rank within departmentHard
- Running totalHard
- Month over monthHard
- Top two per departmentHard
- Same cityHard
- Above-average spendersHard
- Where the condition belongsHard
- Days to the first orderHard
- Moving averageHard
- Share of revenueHard
- The same againHard
- From every aisleHard
- Bought togetherHard
- QuartersHard
To learn SQL step by step, see the SQL topics on the Path.