Skip to content

Check a SQL join before trusting its totals

Identify what one row represents in each table before joining them. A course registrations table can contain several rows for one learner, so joining it to learner records can repeat a learner’s information.

Count rows and distinct learner IDs before and after the join. Check a learner with two registrations and a learner with none, then choose the join and aggregation that answer your question.

Watch the SQL Analytics video