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...

Q1.all the depts which has more then 10 empls?
Q2.all the dept which does not have any emply?
Q3 all the emp which does not have any dept?
Q4 get all the emply detais with the dept details it dept is
exit otherwise any emp details?
Q5 how to debugg the dynamic sql and packages?











Answer Posted / ajit

ANS - 2
select d.deptno, dname, loc
from emp e, dept d
where e.deptno(+) = d.deptno
and e.deptno is null;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is procedure in pl sql?

982


what is dbms? : Sql dba

934


Can triggers stop a dml statement from executing on a table?

1029


What is the difference between sql and mysql?

1055


How many sql core licenses do I need?

885


What do you mean by field in sql?

1038


How to sort the rows in sql.

1013


What is difference between inner join and cross join?

912


How many columns should be in an index?

907


what is cross join? : Sql dba

943


How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?

993


What is a join?

1023


How do you take the union of two tables in sql?

936


How can you select unique records from a table?

995


What is the default isolation level in sql server? : Transact sql

964