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 / baji
select * from a full outer join b on a.empno=b.empno
minus
select * from a inner join b on a. empno=b.empno;
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
explain primary keys and auto increment fields in mysql : sql dba
How do I view a sql trace file?
How does postgresql compare to oracle/db2/ms sql server/informix?
Why do we need pl sql?
what are enums used for in mysql? : Sql dba
What is right join in sql?
What is rownum and rowid?
Why is normalization important?
What is the meaning of disabling a trigger?
How do I install sql?
tell me about various levels of constraint. : Sql dba
how many values can the set function of mysql take? : Sql dba
What is a recursive join sql?
How exception handling is done in advance pl/sql?
What is coalesce sql?