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

Answer Posted / sree

select sal from emp e where nth=(select count(*) from emp
where sal>e.sal);

Is This Answer Correct ?    5 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is index?how it can work in informatica

1575


What is union transformation in informatica?

695


Explain sessions. Explain how batches are used to combine executions?

585


What is pmcmd command?

668


Explain why we use partitioning the session in informatica?

607






What are the types of schemas we have in data warehouse and what are the difference between them?

515


my source is junk data how will u remove that junk data by using unix please any one replay me

3235


Define pmcmd command?

616


What do you understand by SOA of Informatica?

583


What are the different transaction levels available in transaction control transformation?

671


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 do you mean by enterprise data warehousing?

634


How to create or implement slowly changing dimension (SCD) Type 2 Effective Date mapping in informatica/Flagging mapping in informatica/visioning mapping in informatica?

707


What are the mapping parameters and mapping variables?

616


Performance tuning( what you did in performance tuning)

1483