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

Answer Posted / sreenivasa

SELECT DEPTNO, ENAME, SAL FROM EMP A WHERE 4 = (SELECT COUNT
(B.SAL) FROM EMP B WHERE A.SAL < B.SAL)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Folder?

795


Can you define framework manager?

699


1)diff between shortcut-key and alias table? 2)what is unit testing? 3)what is scorecard?

3180


What is main difference mapplets and mapping?

657


Explain difference between powerplay transformer and power play reports?

639






Explain the difference between powerplay transformer and power play reports?

682


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


how u will design the report if the objects are available

2398


write a query to display the departments with no employee?

1634


Define cognos report net?

643


Can you explain the advantage of using shortcuts?

692


tell me two or three issues from client side and how to solve those issues?

1796


my report ended at the half of the last page but i don't want that matter in the last page I would like to adjust the matter in the previous page .how can i do this?

1730


What is difference between informatica power mart and power center?

647


what is power prompt in cognos ep7series?what is the use of this?

3298