Database problems · sql topics

8 SQL join problems, solved step by step.

Problems that come down to matching rows across tables: inner and outer joins, a table joined to itself, and the anti-join that finds what has no match. Each one is solved in 6 SQL dialects and pandas, with queries you can run on the page.

0/8 solved
  1. Combine Two TablesEasy
  2. Employees Earning More Than Their ManagersEasy
  3. Customers Who Never OrderEasy
  4. Rising TemperatureEasy
  5. Delete Duplicate EmailsEasy
  6. Department Highest SalaryMedium
  7. Department Top Three SalariesHard
  8. Trips and UsersHard