Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / seetharam
select * from(select * from emp order by sal desc) where
rownum<=5;
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Can we use threading in pl/sql?
Determine if oracle date is on a weekend?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
Is left join faster than join?
What is a schema sql?
Why stored procedure is faster than query?
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What is error ora-12154: tns:could not resolve the connect identifier specified?
What are sql commands?
How would you convert date into julian date format?
what is the command line end user interface - mysql? : Sql dba
What is the use of partition by in sql?
Can a table contain multiple primary key’s?
what are the authentication modes in sql server? : Sql dba
What is meant by cursor in sql?