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 / mahesh madala

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

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute a stored procedure in oracle?

1148


How to assign values to data fields in record variables?

1077


In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??

1908


How to insert a new row into a table in oracle?

1215


How to define a variable to match a table column data type?

1038


What is oracle database client?

1081


Is there any function in oracle similar like group_concat of mysql?

1105


What are the components of logical database structure in oracle database?

1136


What is a dead lock in oracle?

1175


What is the use of file param in imp command?

1215


Explain the use of Merge statement in oracle 11g

1076


What are the differences between char and varchar2 in oracle?

1246


Explain a synonym?

1088


Explain the use of rows option in imp command.

1139


What is the Tune Query

2345