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...

Which Department has MOST NUMBER of employees?

Answer Posted / cvsrao

select d.deptname, count(*) as cnt from Employee e inner join
Department d on e.DeptId=d.DeptID
group by DeptName
having count(*) in
(select count(*) from
(select DeptId, count(*) as cnt from Employee group by DeptId)as cnt)

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I connect to oracle database?

1121


How to check the oracle tns settings?

1047


What is rich query?

983


What are the logical operations?

1126


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

1003


State all possible different index configurations a table can possibly have?

1009


What are the different types of partitions in oracle?

979


How can we force the database to use the user specified rollback segment?

1149


How translate command is different from replace?

1090


What are the predefined tablespaces in a database?

1086


How to list all tables in your schema?

1054


what are the default admin accounts in Oracle 10g ?

970


How to end the current transaction in oracle?

1030


What are the uses of a database trigger?

994


What is oracle and what are its different editions?

1068