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 / sayalibsl
select e2.empno, e2.ename from A e1, B e2
where e1.empno!=e2.empno;
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
What is sql comments?
How to write pl sql program in mysql command prompt?
How do you go back in sql?
How do you change a value in sql?
what is sql in mysql? : Sql dba
Why coalesce is used in sql?
What does 0 mean in sql?
How do I run sql profiler?
Can sql function call stored procedure?
What is type and rowtype in pl sql?
How can you load multi line records? : aql loader
how to create a new view in mysql? : Sql dba
What are the different operators available in sql?
give the syntax of grant and revoke commands? : Sql dba
Why truncate is used in sql?