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
Explain two easy sql optimizations.
What are the types of optimization?
How many aggregate functions are available there in sql?
how do you know the version of your mysql server? : Sql dba
how to use in conditions? : Sql dba
How many types of relationship are there?
what tools available for managing mysql server? : Sql dba
What is the basic structure of an sql?
Can we join tables without foreign key?
What are different types of tables in sql?
Does execute immediate commit?
Define implicit and explicit cursors.
What is audit logout in sql profiler?
What is auto increment in sql?
What is type and rowtype in pl sql?