a query to select maxmun 3 salaries of employee table

Answer Posted / raju

select * from emp a where 3>=(select count(distinct(b.sal))
from emp b where b.sal>=a.sal )

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

1630


Explain constraining triggers.

612


What are group functions in oracle?

593


How to display row numbers with the records?

596


what is a Nested Loop join?

1575






In AP we done Customizations for Late Payments Charges. For Reporting Purpose What are the Documents Prepared for Customer Understanding??

1215


How to retrieve data from an cursor to a record?

567


Explain what are the characteristics of data files?

642


What is index-organized table in Oracle?

581


What is the difference between substr and instr?

529


How can we find out the duplicate values in an oracle table?

621


What is the use of oracle?

568


What are the restrictions on external table columns?

555


What are the types of partitions in oracle?

545


normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

1754