Skip to content
AmzhyronLearning Solutions

SQL for data analysis tuition

Specify the database engine if you know it and choose an analysis question. Tutoring can use original practice tables instead of private company data.

What to discuss

Find the missing or duplicated rows after a join between two practice tables.

  • Filtering and sorting
  • Joins and table relationships
  • Aggregating with groups
  • Verifying query results

Try a sample exercise

A report should list every department and count its projects, including departments with zero projects. An inner join drops those departments. Describe the join and aggregate you would use instead.

Check your answer

Use a LEFT JOIN from Department to Project and group by department ID. Count a non-null project identifier with COUNT(ProjectID). COUNT(*) would count the placeholder row for a department that has no projects.