query to find the maximum no persons with same age(age
colomn) from emp table



query to find the maximum no persons with same age(age colomn) from emp table..

Answer / krishnakumar

select max_age,age
from
(select count(age) max_age,age from emp group by age order
by max_age desc)
where rownum < 2

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle General Interview Questions

master table and child table performances and comparisons in Oracle ?

0 Answers  


What is a recycle bin in oracle?

1 Answers  


Is oracle an operator?

0 Answers  


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

0 Answers   Wipro,


How do you find current date and time in oracle?

0 Answers  






10. Display the client number, order date and shipping date for all orders where the shipping date is between three and six months after the order date.

3 Answers   Wipro,


Where do we use decode and case statements?

0 Answers  


Write a trigger example in oracle?

0 Answers  


What is recycle bin in Oracle?

0 Answers   MCN Solutions,


How to count duplicated values in a column in oracle?

0 Answers  


Explain a private synonyms?

0 Answers  


what is Table ?

2 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)