write a query for the fifth highest salary?

Answer Posted / bezalel

select salamt from
(
select rownum n,salamt from
(
select distinct salamt from emp order by salamt desc
)
)
where n=5

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the most common databases?

539


What is the use of default key?

620


When should you not use firebase?

607


WHAT IS NEED BY METION DATFMT AND TIMFMT IN H-SEPICITION IN RPGLE?

2477


Why merge statement is used inside the database?

631






I have single column in a file. Input 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 my output is file 1 have 1,2,3,10,11,12 file 2 have 4,5,6,13,14,15 and file 3 have 7,8,9 how is it possible in datastage

1190


Explain entity ?

598


Explain entity type?

627


Explain inner and outer joins with examples.

710


What is a database example?

534


Why do we need distributed database?

539


How do you pass parameter in stored procedure?

727


How do I manually create a database?

564


sparse lookup and where its options we find in OCI and db2?

1740


Explain transaction manager?

607