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

Answer Posted / vsandhyana

select top 1 * from (select top 5 * from customers order by
salary desc) a order by salary asc

Thanks
Vikram Sandhyana

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define query studio?

672


What do you understand by the term 'dynamic cube'?

653


------------ Diff b/w MemberCaption and MemberDescription?

1991


Can you define framework manager?

699


How do you improve the performance of the Cognos Analytics report

643






Can you explain dynamic query mode?

695


What is set to be Cognos configuration?

695


How do you Parametermap variables in Quiries?

1886


What is cognos powerhouse?

674


What do you mean by drill through report?

661


Why need staging area database for dwh?

740


Hi Buddies...i am lalitha. i am willing to appear for cognos bi-author certification. can anyone of you send me cognos dump. please please help me.

1560


difference between impromptu and cognos8

2071


what is requery in cognos?

2141


1.WHAT IS XML SPECIFICATION WHAT IS PURPOSE,WHERE YOU ARE GOING TO USE.2 DIFFERENCE BETWEEN RENDER VARIABLE AND CONDITIONAL BLOCK.3.WHAT IS LINK AND SEGMENT.4.WHAT IS CONDITIONAL LAYOUT.5. DIFFERENCE BETWEEN DETAIL FILTER AND SUMMERY FILTER AND HOW YOU ARE GOING DEFINE IN SQL (DETAIL AND SUMMARY FILTER ).. WELL THESE QUESTION I BEEN FACED IN IBM COULD SOMEBODY GET SOLUTIONS PLZ..THANKS IN ADVANCE

1787