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 is a database table in oracle?

1069


How to count groups returned with the group by clause in oracle?

1122


How to retrieve data from an explicit cursor?

1105


How to create a stored function in oracle?

1156


What is Trigger in Oracle?

1240


How to create a table index in oracle?

1182


WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?

2248


hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.

2422


Is it possible to set second Primary Key Constraint in a table in Oracle Database ?

1225


What is a subquery in oracle?

1166


Explain about the analyze command in oracle?

1109


How to best split csv strings in oracle 9i?

1097


Why does for update in oracle 8 cause an ora-01002 error?

1043


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

1091


What is index in Oracle?

1128