Advertisement
Advanced SQL & Database Querying, SQL Joins

Why do duplicate rows appear after joins?

Short answer

One to many relationships.

Save SQL & Database Querying mock interview
Advertisement
AModel answer
One to many relationships.
Example

Multiple orders.

Real-world example
Joining customer and order tables allowed an analyst to measure repeat purchase rates.
Likely follow-ups
  • What are SQL joins
  • What is inner join
  • What is left join
Related topics