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

Answer Posted / sbvp

select * from table name where sal in ( select * from
(select distinct sal from tablename order by sal desc)
where rownum<=&n);


if there is any another query plz tell me r mail me

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

595


Define enterprise data warehousing?

630


Suppose on 1st Nov 2010 you had created a mapping which includes huge aggregator calculations and it is under process for next two days. You will notice that even on 3rd day also its still calculating. So without changing a logic or changing a mapping How will you troubleshot or to run that mapping? Explain the steps

1615


What is the status code in stored procedure transformation?

683


Explain your project of banking domian.

1214






what is the difference between informatica6.1 and infomatica7.1

1707


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

515


How do you manage the Parameter files while migrating your data from one environment to another environment?

536


What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?

1889


Can we use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?

594


Under what condition selecting sorted input in aggregator may fail the session?

655


Explain the use of aggregator cache file?

669


Write the program through which the records can be updated?

507


Explain the various test procedures used to check whether the data is loaded in the backend, performance of the mapping, and quality of the data loaded in informatica?

546


What is informatica? Why do we need it?

628