If there are 2 tables TableA and TableB. I want to find all the records of TableA which are not present in TableB, I can use Left join or where exists.
My question is that if there are 10 Million records in both the table which method will give better performance Left join or Where exists.?. I know Left join performs better But can someone tell me why?. I was asked this question in interview why where exists will perform slow than Left join when records are more.