Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
YoungLearning
Helper III
Helper III

Merge types

YoungLearning_0-1717403586409.png


Why is inner join more efficient that left outer, and doesn't this mean we will skip the products with ProductSubCategory with no parent ProductCategory?

1 ACCEPTED SOLUTION
PIYUSHPRAJAPATI
Resolver I
Resolver I

Yes, Left outer join produce the same result

and for the second part i give the answer based on the question was you posted according to that left outer join is answer in the second blank for the second question that assumtion take by us and me and other so only we need inner join or left outer in such cases.

 

View solution in original post

3 REPLIES 3
PIYUSHPRAJAPATI
Resolver I
Resolver I

Yes, Left outer join produce the same result

and for the second part i give the answer based on the question was you posted according to that left outer join is answer in the second blank for the second question that assumtion take by us and me and other so only we need inner join or left outer in such cases.

 

PIYUSHPRAJAPATI
Resolver I
Resolver I

There would be two answers the join kind first question is asked every productcate. has productsubcate. use inner join and in second question Not every productsubcate have productcate so in suct case use left outer join if Productsubcate table on the left hand side and product category table on the right hand side as mentioned in the questions.  

According to the your question there different working of the inner join and left outer join but it's obvious inner join is very effecient and you are right left outer join is used for the second question that mentioned in the above question.

 

Just Click Accept the solution if you got the answer.

First part: If every product has a subcategory and vice versa, wouldn't outer left and inner produce the same results?

Second part: If the objective is to maximise performance, then why should I need to include the subcategories which has no corresponding parent category? There are too many assumptions here.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.