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

Is oracle a programming language?

993


How to write a query with a left outer join in oracle?

1065


Is postgres faster than oracle?

1046


What is PL/SQL ?

2076


How to export data with a field delimiter?

1039


Explain what are the different type of segments?

969


What is not equal to in oracle?

1003


Explain the use of log option in exp command.

1122


How would you go about verifying the network name that the local_listener is currently using?

2049


What are oracle functions?

1032


Hi Masters, in Oracle Applications 11i, we hace 2 functions using the same form, i need to create 1 personalization, but that code must afect only one function.... how can i do that?

2222


Calculate difference between 2 date / times in oracle sql?

1043


What are the varoius components of physical database structure of oracle database?

1006


How to pass a cursor variable to a procedure?

1111


What is private procedure oracle?

1012