TABLE A TABLE B
EMPNO ENAME EMPNO ENAME
1 A 1 A
2 B 2 B
3 C 3 C
4 D 4 D
5 E 5 E
6 F
7 G
HOW TO GET THE UNMATCHED RECORDS IN SQL QUERY?
Answer Posted / arun
select *from B where (empno,ename) not in (Select
empno,ename from A)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
explain the difference between delete , truncate and drop commands? : Sql dba
What is the use of triggers?
How can we solve sql error: ora-00904: invalid identifier?
What are the types of index in sql?
Why use truncate instead of delete?
Why trigger is used in sql?
what is a constraint? Tell me about its various levels. : Sql dba
Why stored procedure is faster than query?
How to test for null values?
Can we rollback after truncate?
What does t sql mean?
Sql technical questions
what is an extent ? : Sql dba
How can we debug in PL/SQL?
Should I use mbr or gpt?