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
What are sql functions? Describe in brief different types of sql functions?
What is trigger and how to use it in sql?
Does truncate require commit?
how many groups of data types? : Sql dba
Does sql support programming?
What is a trigger word?
what are the differences between binary and varbinary? : Sql dba
Is sql easier than java?
Can we create table in function?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
Are views faster than queries?
how can you create an empty table from an existing table? : Sql dba
explain the difference between myisam static and myisam dynamic. : Sql dba
What are types of joins?
Is sql difficult?