Actually I have two table and each having column name, I just want the result which are not there in Table2
Table1
----
Name
---
|A|
|B|
|C|
|D|
Table2
------
|Name|
-----
|A|
|B|
Answer |C| |D|
I am able to do it by using minus
select name from table1
minus
select name from table2
select name from table1 where name
not in (
select name from table2)
But my Manager ask me to do it with other alternate solution without using minus,except,not in. Is there a way to do that, It will be great if someone can help me on it. I need to do it with oracle pl/sql
The one option left with you is using
NOT EXISTS
Update: Using Join
Or just