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

what are the different types of cursors? explain?

4 Answers  


How to view the dropped tables in your recycle bin?

1 Answers  


Suppose U install the oracle DB either enterprise edition or express edition in ur personal PC, Is there the Database has been created after ur installation if not then where the oracle's all objects with data be stored?

1 Answers   IBM,


Explain the use of log option in exp command.

1 Answers  


What are the major difference between truncate and delete?

1 Answers  


Is it possible to split the print reviewer into more than one region ?

1 Answers   Oracle,


What is a server parameter file in oracle?

1 Answers  


2. Display the post code and the total number of purchase orders placed with creditors in that post code.

0 Answers   Wipro,


What is cluster Key ?

3 Answers  


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1 Answers   Wipro,


What is the parameter mode that can be passed to a procedure?

1 Answers  


Is it possible to enter only time value into a column of a table in sql?

2 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • 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)