What is the query to find nth highest salary?
What is the use of cursors?

Answer Posted / tina

select min(sal)
from tablename
where sal in
(select top n-1 sal from tablename order by sal desc)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Could you explain what is enterprise data warehouse?

550


Explain the features of connected and unconnected lookup.

534


What are the different options available for update strategy?

570


Is there any way to read the ms excel datas directly into informatica?

545


Can you generate sequence numbers without using the sequence generator transformation?

595






Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

774


What is parallel processing in informatica?

1022


What is a stored procedure transformation?

607


Explain lookup transformation in informatica

641


what is unit testing?tell me proceedure

1768


can anyone explain me about retail domain project in informatica?

7421


What are mapplets? How is it different from a Reusable Transformation?

619


What is the main purpose of Unconnected lookup other than updating slowly changing dimensions? or In which case u use Unconnected lookup?

6392


is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?

616


Explain the informatica workflow?

582