Which Department has MOST NUMBER of employees?

Answer Posted / ns

SELECT count(*), department_id
FROM employees
GROUP BY department_id
HAVING count(*) =
(SELECT max(count(*))
FROM employees
GROUP BY department_id)

Is This Answer Correct ?    40 Yes 46 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

621


Where are the settings stored for each instance in oracle?

627


What are the differences between char and varchar2 in oracle?

565


20. Using a set operator, display the client number of all clients who have never placed an order.

1801


How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.

1613






Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..

1656


Explain the use of control file?

658


How to view all columns in an existing table?

551


Which environment variables are absolutely critical in order to run the OUI?

1658


What privilege is needed for a user to create views in oracle?

591


State and explain about oracle instance?

551


What is a server parameter file in oracle?

594


How do I connect to oracle database?

537


How to divide query output into groups in oracle?

563


How to turn on or off recycle bin for the instance?

611