adspace
Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / mk
SELECT ENAME,SALARY FROM (SELECT ENAME,SAL FROM EMP ORDER
BY SALARY DESC ) WHERE ROWNUM<6;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is schema? : Sql dba
Is primary key clustered index?
What is your daily office routine?
what is collation? : Sql dba
what are the advantages of sql ? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
Does group by remove duplicates?
Do we need to rebuild index after truncate?
define sql insert statement ? : Sql dba
what is dbms? : Sql dba
Can delete statement be rollbacked?
what are aggregate and scalar functions? : Sql dba
how to start mysql server? : Sql dba
Can we rollback truncate?
What is the current version of sql?