Write a query to find five highest salaries from EMP table.
(there is a column SALARY)

Answer Posted / mohammad murtuza ali

select * from emp as(empname,empsal,empdesc) where rownum<6

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle bulk data?

1052


What does sign mean sql?

761


What is meant by truncate in sql?

752


Explian rowid, rownum?

754


what is the difference between a having clause and a where clause? : Sql dba

692






Which version of sql do I have?

749


what are the advantages of using stored procedures? : Sql dba

822


What is oracle and pl sql?

835


Why stored procedures are faster than query?

761


What are the types of records?

744


Mention what is the plv (pl/vision) package offers?

841


Which data type is a composite type?

736


what is a cursor? : Sql dba

745


how to rename an existing column in a table? : Sql dba

695


What is auto increment in sql?

825