Which Department has MOST NUMBER of employees?
Answer Posted / aswini
select dept_id from emp group by dept_id having count(*)=(Select max(count(*)) From Emp group by dept_id)
| Is This Answer Correct ? | 2 Yes | 14 No |
Post New Answer View All Answers
What is a procedure in oracle?
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
How to turn on or off recycle bin for the session?
How to end the current transaction in oracle?
What happens if the imported table already exists?
Is there any function in oracle similar like group_concat of mysql?
Is there a function to split a string in plsql?
What is oracle datasource?
What privilege is needed for a user to delete rows from tables in another schema?
What is translate in oracle?
Give syntax for SQL and ORACLE joins.
How to get a list of all user accounts in the database?
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?
what is reindexing?
What are the different types of record groups in oracle? Explain each of them