a query to select maxmun 3 salaries of employee table

Answer Posted / kannan

select * from emp
where sal in (select max(sal) from emp
where level<=3
connect by prior sal>sal
group by level)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to commit the current transaction in oracle?

583


What is the max number of columns in an oracle table?

524


How to create additional tablespaces for an new database?

583


how to handle exceptions in post production

957


How to create a testing table in oracle?

558






How many data types are supported?

626


What is difference between truncate and delete?

569


How is it different from a normal table?

589


What is an oracle?

588


Why packages are used in oracle?

554


How to use "if" statements on multiple conditions?

729


Is rowid unique in oracle?

536


How to list all indexes in your schema?

592


In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??

1371


Is postgres faster than oracle?

571