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
What are the different types of failures that occur in Oracle database?
What are the differences between date and timestamp in oracle?
Explain self joins in oracle?
Why does Oracle not permit the use of PCTUSED with indexes?
How to define a record variable to store a table row?
How to drop a stored procedure in oracle?
How to create a new oracle data file?
What is concurrency in oracle?
Explain the use of record length option in exp command.
What is control file used for?
What are the different types of record groups in oracle? Explain each of them
Explain what does a control file contain?
What do you mean by group by clause?
Can we write insert statement in function in oracle?
How to filter out duplications in the returning rows using oracle?