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 / swastik
SELECT
e2.Empno, e2.Ename
FROM B e2
WHERE e2.Empno NOT IN
(
SELECT e1.Empno
FROM A e1
);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is offset-fetch filter in tsql? : Transact sql
What do you understand by exception handling in pl/sql?
what is 'mysqlimport'? : Sql dba
What does the hierarchical profiler does?
What is a call statement? Explain with an example.
What is sqlexception in java?
what is log shipping? : Sql dba
what is commit? : Sql dba
How to add new employee details in an employee_details table with the following details
What is substitution variable in pl sql?
Why do we create views in sql?
How to prepare for oracle pl sql certification?
What are basic techniques of indexing?
Is sql considered coding?
What are all different types of collation sensitivity?