Last answered:

07 Nov 2023

Posted on:

07 Nov 2023

0

Resolved: Why not left join?

Hi,


I just want to understand why we are not using left join here and using inner join instead? Kindly respond. Would like to learn. 


Thanks

Abhi

2 answers ( 1 marked as helpful)
Instructor
Posted on:

07 Nov 2023

1

Hi Abhilasha, 

thanks for reaching out! You're correct that we can use a left join in this instance. In that case, we'd have all customers, as well as all customers, who've made a purchase. In my case, I wanted to analyse the behaivour of paying customers only, that's why I opt for the inner join instead. 

Hope this helps!


Best, 

365 Eli

Posted on:

07 Nov 2023

0

Thank you, makes sense! 

Submit an answer