Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
I'm trying to fetch only the unmatched records from to tables using leftouter join in oracle.. but not getting.. so sort out
thank u:)
Posted

1 solution

Gives you Rows in Table1 that are not there in Table2 based on Match_Colname
SQL
SELECT *
FROM table_name1 T1
LEFT JOIN table_name2 T2
ON T1.Match_Colname=T2.Match_Colname
WHERE T2.Match_Colname IS NULL
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900