a query to select maxmun 3 salaries of employee table

Answers were Sorted based on User's Feedback



a query to select maxmun 3 salaries of employee table..

Answer / kumari

SELECT TOP (3)with ties empsalry
FROM empsalr

order by empsalry desc;

Is This Answer Correct ?    1 Yes 4 No

a query to select maxmun 3 salaries of employee table..

Answer / neo devan

select max(sal) from emp having max(sal)!=(select max(sal)
from emp where max(sal)!=(select max(sal) from emp));

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Oracle General Interview Questions

Explain do view contain data?

0 Answers  


What is the maximum limit on the number of columns in a table?

0 Answers  


What is a trigger oracle?

0 Answers  


Can we call a trigger inside a function and function inside a trigger? Give example.

1 Answers   Metric Stream,


What is the string concatenation operator in oracle?

0 Answers  






What is Rollback Segment ?

3 Answers  


How to delete a column in an existing table in oracle?

0 Answers  


Oracle

0 Answers   ABC, Genpact, HUI, Oracle,


What is memory advisor in Oracle?

0 Answers   MCN Solutions,


What are synonyms used for ?

3 Answers  


Differentiate between post-database commit and post-form commit?

0 Answers  


Which is better Oracle or MS SQL? Why?

2 Answers   Bally Technologies,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)