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

how to get the no employee in each department including the
dept which has 0 employee

Answer Posted / sanjay pradhan

select d.deptno,count(ename)employees from emp e,dept d
where d.deptno = e.deptno(+)
group by d.deptno

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 the difference between "as" and "is" in an oracle stored procedure?

994


How to select some rows from a table in oracle?

1078


How to define an oracle sub procedure?

1147


How to use fetch statement in a loop?

1022


What is recovery manager in Oracle?

1057


I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database

2139


How many types of database triggers exist?

1136


What are the extensions used by oracle reports?

1039


How to start your 10g xe server from command line?

1073


What is the data type of dual table?

995


what is normalisation?what are its uses?

2274


What is raw datatype in oracle?

1137


What are the logical operations?

1126


How do we get field detail of a table?

1081


Why is oracle so popular?

1000