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

Answer Posted / venky

select * from emp e where &n=(select count(distinct(b.sal))
from emp b where e.sal=b.sal);

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are ETL Tools?

666


In how many ways we can create ports?

703


What is xml source qualifier transformation in informatica?

714


Explain sql transformation in script mode examples in informatica

605


What is Session and Batches?

666






What is an unconnected transformation?

667


What is depict expression change?

619


What are the prerequisite tasks to achieve the session partition?

714


Clarify the aggregator change?

595


what is diff b/t sorter t/r and agg have the option sorter property...

1748


What is meant by target load plan?

557


Why can't we connect source qualifier and aggrigator transformation to an expression ? Why they resticted to conncet 2 active trasformations to an passive transformation ?

1745


What are Dimensional table?

619


how to load rows into fact table in data warehouse

642


What is incremental aggregation?

577