Write a SQL query which should fetch the 5th maximum salary
of an employee from the table?

Answer Posted / rakesh

select rownum as rank,name,sal
from
( select name,sal from employees order by sal desc)
where
rownum=5

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the model filter?

679


What are the different uses of a repository manager?

684


-----------------What is Determination Model?

1785


What is defined as catalog and types of catalogs in Cognos?

669


What is the difference between a cascading report and drillthru report? Why do we go for drill thru report?

627






Can you define a catalog and types of catalogs in cognos?

656


Hi All, I have 1.6 years of experience in cognos in India. I always wanted to do a MS program to earn some money in US. But I think I am little late in taking the decision. As If I have to write my GRE it will be August or September of 2012 and will have to apply for fall 2013 as fall 2012 admissions are almost done now. So my concern is how will be my career do if my MS is at this stage,. i,.e. 3 years experience in Cognos and 2 years MS program in and again looking for job in U.S. Have I been too late in taking the call? I heard that MIS (Managing Information Systems) is having very good placements now. So guys, please advice me in taking the decision to have a good career and also in terms of earning money as I have few financial problems to solve (which I am hoping to solve when I get job in US after completion of my MS program). Thanks a lot friends. I really appreciate and thank one and all for their valuable comments in this site.

4894


What do you mean by Drill down and Drill Up?

648


Can we create 2 conditions in report expression of a single data item..Eg: I added 2 new dataitems each one should show revenue for Q1 and Q2..Pls advice

2222


What are all the advantages of Cognos?

713


WHAT IS METRIC STUDIO?WHAT IS SCORE CARDS HOW TO IMPLEMENT IT AND WHAT IS THE USE OF SCORE CARD?

6149


2. What functional area you worked on.

2001


What is the difference b/w macros and prompt?

670


How to deploy from one server to another server?

2104


How the Bursting happens in same report and how to Print the bursting Report?

1522