Which Department has MOST NUMBER of employees?
Answer Posted / senthil
select column_name,count(*)from table_name group by
column_name having count(*)=(select max(count(*)) from
table_name group by column_name);
PLZ Contact Any Queries (raja.prem86@gmail.com)
| Is This Answer Correct ? | 20 Yes | 27 No |
Post New Answer View All Answers
what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?
How to start your 10g xe server?
Whether any commands are used for months calculation? If so, what are they?
Can we insert data in view oracle?
Explain rename?
What are the execution control statements in oracle?
Why do we use bulk collect in oracle?
Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?
How to use select statement to count the number of rows in oracle?
What happens to the current transaction if the session is ended?
Why do we need integrity constraints in a database?
What is an oracle function?
How to export data to a csv file?
Explain about functional dependency and its relation with table design?
How to use like conditions in oracle?