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

How to start the command-line sql*plus?

1040


how to extract a unit value from a date and time? : Sql dba

979


Can I call a procedure inside a function?

986


what are different types of collation sensitivity? : Sql dba

1057


Is record in pl sql?

949


how to enter numeric values as hex numbers? : Sql dba

1046


How to write html code in pl sql?

1098


Explain what is a field in a database and record in a database?

1072


What are the different schemas objects that can be created using pl/sql?

1004


What is pragma in sql?

1059


What is consistency?

1105


What is left join in postgresql?

1028


What is the difference between delete and truncate statement in sql?

1045


How to select 10 records from a table?

1141


Is inner join same as self join?

1107