Inner and Left Joins

Talk it through out loud with your AI coach.

The problem

  • easy

You have a customers table and an orders table, linked by a customer ID on each order. Explain the difference between an inner join and a left join between them, and which you'd use to list every customer with their order count, including those who have never ordered.

What a strong answer covers

  • What each join type keeps when a row has no partner.
  • What the unmatched side of a result looks like.
  • Which join suits a list that must include everyone.
  • How the choice of what you count changes the numbers for people with no orders.

Common mistake: Using an inner join for a report that's meant to include everyone, so inactive customers silently disappear.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud