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 / bijaylaxmi
select b.empno,b.ename from b where not exists(select * from a
where a.empno=b.empno)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Mention what is the use of function "module procedure" in pl/sql?
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
Is postgresql a server?
i have some prob lem to tell me about my self in interview first round ...
What are the different type of joins in sql?
Are there any features that are decommissioned in 11g that are not present in 11g?
Does a primary key have to be a number?
who introduced sql?
What is cross join sql?
what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba
How does a trigger work?
What is rank () in sql?
How to set up sql*plus output format in oracle?
What is sql used for?
Why do we need unique key in a table?