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 / sudipta santra

select distinct dept_no, nvl(count(emp_no),0) from dept
group by dept_no;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of record groups in oracle? Explain each of them

1026


What are joins, explain all types of joins?

2299


How to view existing locks on the database?

1053


State and explain the different types of data models?

944


What is the use of file param in imp command?

1165


What is a named program unit?

1086


How to define an oracle cursor variable?

1027


What is raw datatype?

1136


List out the difference between commit, rollback, and savepoint?

1033


How to get execution path reports on query statements?

987


What is analyze command used for?

1073


Can I create users through internet explorer in oracle 10g?

1084


WHAT IS ecc 6.0

2147


How to pass parameters to procedures in oracle?

1042


What do you mean by redo log file mirroring?

1032