Database problems · sql topics

6 SQL aggregation problems, solved step by step.

Problems solved by grouping rows and counting, summing or taking a minimum per group, with HAVING to keep only the groups that qualify. Each one is solved in 6 SQL dialects and pandas, with queries you can run on the page.

0/6 solved
  1. Duplicate EmailsEasy
  2. Classes More Than 5 StudentsEasy
  3. Game Play AnalysisEasy
  4. Managers with at Least 5 Direct ReportsMedium
  5. Customers Who Bought All ProductsMedium
  6. Trips and UsersHard