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 / arun
select *from B where (empno,ename) not in (Select
empno,ename from A)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
Who is the owner of mysql database?
what are properties of a transaction? : Sql dba
What is form and report?
What are sql procedures?
What does over partition by mean in sql?
What is data manipulation language?
What is rownum in sql?
What is oracle sql called?
What normalization means?
Which data dictionary views have the information on the triggers that are available in the database?
What is an escape character in sql?
how to shutdown mysql server? : Sql dba
what is a database transaction? : Sql dba
What is the difference between stored procedure and view?