Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / ram
select ename,salary from(select ename,salary from emp order by salary desc) where rownumber<6
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I create a memory optimized filegroup?
What is pivot table in sql?
What is the difference between alter trigger and drop trigger statements?
what is rollback? : Sql dba
What are the sql aggregate functions?
How do I run a sql query?
who introduced sql?
what is the use of set statement in tsql? : Transact sql
Can we use rowid as primary key?
how can you see all indexes defined for a table? : Sql dba
what is a tablespace? : Sql dba
What is the difference between partitioning and sharding?
what is self-join? : Sql dba
What is a table?
What are some emotional triggers?