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 do you find out from the RMAN catalog if a particular archive log has been backed-up?

1651


What is instant client oracle?

533


How would you change old and new values in an insert, delete and update triggers?

536


Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

1498


Explain cascading triggers.

566






What is the difference between substr & instr functions?

590


Please explain oracle left join with an example?

575


What are the roles of dba?

604


What is a tns service name?

526


What is a dynamic performance view in oracle?

594


What query tells you how much space a tablespace named test is taking up, and how much space is remaining?

1791


Can we create trigger on materialized view in oracle?

556


what are archived logs?

1705


What is a cognitive schema?

519


Point the difference between translate and replace?

560