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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Bharathi_99
Helper IV
Helper IV

Extra rows adding after Left join

Hello All,

I am facing issue with extra rows adding in left table after left join
I don't have any unique id in column also to remove duplicates, but how to ignore adding of extra rows

Please help me with resolving this
500K rows are adding extra

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

hi  
@Bharathi_99 


this is how different  joins works  

 

Uzi2019_1-1715837620121.png

 

 If you are doing left join so the records which are not matching with right table will also come in left join.that's why you have 500k records extra of left table.

 

If you want to only have matching records then use 

NATURALINNERJOIN(<LeftTable>, <RightTable>)

 

I hope I answered your question!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

1 REPLY 1
Uzi2019
Super User
Super User

hi  
@Bharathi_99 


this is how different  joins works  

 

Uzi2019_1-1715837620121.png

 

 If you are doing left join so the records which are not matching with right table will also come in left join.that's why you have 500k records extra of left table.

 

If you want to only have matching records then use 

NATURALINNERJOIN(<LeftTable>, <RightTable>)

 

I hope I answered your question!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.