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

Why do we need integrity constraints in a database?

1019


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1915


Explain the dml?

981


What is a table in oracle?

979


I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?

1110


How to experiment a data lock in oracle?

1056


What is an oracle recycle bin?

1009


How to commit the current transaction in oracle?

1120


Which is faster join or subquery in oracle?

995


List the parts of a database trigger.

1049


How to create a new user account in oracle?

1020


Explain enable novalidate constraint.

1080


What is flashback in Oracle?

1017


Difference between pre-select and pre-query

1106


What is an oracle and why it is used?

1148