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
Why sql query is slow?
explain the delete statements in sql
Why stored procedures are faster than query?
What is lexical units in pl sql?
when is the use of update_statistics command? : Sql dba
What are character functions in sql?
Can pl sql procedure have a return statement?
Explain exception handling in pl/sql?
Explain the advantages and disadvantages of stored procedure?
Does execute immediate commit?
Why should I use postgresql?
What is sqlcommand?
How to install oracle sql developer?
Why do we use sqlite?
How do I view a sql trace file?