Please Help!!!
Is there any better way to write this query to improve performance. Total Records are 5,00,000 records
Select Distinct A.col1
,Null Col2
,A.Col3
,Null Col4
,A.Col5
From Table1 A
Where Not Exists ( Select * From Table2 B
Where A.Col1 = B.Col1
And A.Col5 = B.Col5 )
Thanks