a query to select maxmun 3 salaries of employee table

Answer Posted / munna

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about achiever in sql?

584


Explain what are synonyms used for?

610


Explain oracle data types with examples?

577


Is truncate autocommit in oracle?

641


What is translate in oracle?

621






what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2048


What is the purpose of tables, private synonyms and public synonyms in Oracle?

591


What are the components of logical database structure in oracle database?

583


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1566


What is an oracle?

579


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

1606


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

1910


How to change program global area (pga) in oracle?

586


Is insert autocommit in oracle?

605


What is a initialization parameter file in oracle?

584