Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Are left and right joins the same?

1154


What is embedded sql with example?

1096


Why do we use sql constraints?

1212


How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?

1171


Explain select statements in sql?

1104


What are the 3 types of behavioral triggers?

1311


How to take user input in pl sql?

1201


What does pl sql stand for?

1156


Can we create view in stored procedure?

1021


What do you mean by table in sql?

1044


What is the difference between sql and mysql?

1174


Where is pl sql used?

1001


How do I audit the sql sent to the server?

1054


What is the order of sql select?

1085


What are the benefits of stored procedures?

1126