adspace
Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / priya
SELECT Rownum,emp-name,salary
FROM(SELECT emp_name,salary
FROM employees
ORDER BY salary Desc)
WHERE Rownum<=5;
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Does group by remove duplicates?
Can we rollback truncate?
what is collation? : Sql dba
Is primary key clustered index?
what is sql server agent? : Sql dba
what are all the common sql function? : Sql dba
what is schema? : Sql dba
how to escape special characters in sql statements? : Sql dba
define sql insert statement ? : Sql dba
How do I remove duplicates in two columns?
how to use regular expression in pattern match conditions? : Sql dba
what is bcp? When does it used? : Sql dba
What is the best sql course?
how many tables will create when we create table, what are they? : Sql dba
what are the advantages of sql ? : Sql dba