find the third highest salary?

Answer Posted / purushotham

select level,max(sal)
from table
where level=3
connect by prior sal>sal
group by level

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you control the max size of a heap table? : Sql dba

710


How to call shell script from pl sql procedure?

865


Difference between global and parameter variables?

1668


when is the use of update_statistics command? : Sql dba

697


what is not null constraint? : Sql dba

737


Why is the cursor important?

741


Explian rowid, rownum? What are the psoducolumns we have?

772


What is clustered and nonclustered index in sql?

713


What are the steps for performance tuning.

1046


How to revise and re-run the last sql command?

853


What is pivot query?

838


What is function and procedure in pl sql?

717


How do I create an index in word?

742


Is pl sql better than sql?

725


How do I run a pl sql procedure in sql developer?

702