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 / raj kumar
selecet empno,ename from table a
minus
select empno,ename from table b
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is sql better than excel?
Explain locks? : Transact sql
What are different types of tables in sql?
describe transaction-safe table types in mysql : sql dba
Where is all the data on the internet stored?
how are mysql timestamps seen to a user? : Sql dba
What is the difference between an inner join and an outer join?
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
What are the types of join in sql?
what is myisam? : Sql dba
What do you mean by query optimization?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
Which is better varchar or nvarchar?
what is a trigger in mysql? : Sql dba
Which version of sql do I have?