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 / swastik
SELECT
e2.Empno, e2.Ename
FROM B e2
WHERE e2.Empno NOT IN
(
SELECT e1.Empno
FROM A e1
);
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is cte sql?
What is Difference Between Unique and Primary Key Constraints?
How do you declare a user-defined exception?
What are the different dml commands in sql?
what is sub-query? : Transact sql
What is meant by temporal data?
What are database links used for?
What are the qualities of 2nf?
What is view explain with example?
Can we create table inside stored procedure?
How do I clear the screen in sql plus?
Is like operator in sql case sensitive?
What are the advantages of stored procedure?
What are data types in pl sql?
What are few of the schema objects that are created using PL/SQL?