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 / damy
select * from b where b.empno not in(select a.empno from a);
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between joins?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
Can we alter stored procedure?
What is pl sql record in oracle?
Does sql view stored data?
What are the ways on commenting in a pl/sql code?
How to add a column ‘salary’ to a table employee_details?
how to decrement dates by 1 in mysql? : Sql dba
What is the use of & in pl sql?
What is cost in sql execution plan?
Mention what is the use of function "module procedure" in pl/sql?
What is multiple partition?
Can we use delete in merge statement?
Why do we use cursors?
Differentiate between sga and pga.