Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answers were Sorted based on User's Feedback
Answer / mohammad murtuza ali
select * from salary where rowno<6
Is This Answer Correct ? | 4 Yes | 15 No |
Answer / amit bharane
select salary from employees
where rownum<=5
order by salary desc
Is This Answer Correct ? | 3 Yes | 22 No |
Answer / mohammad murtuza ali
select * from SALARY where where rowno<6 and empname like
empname
Is This Answer Correct ? | 2 Yes | 29 No |
Answer / sujith
select * from test_sujith where rownum < 6 order by item3 desc
Is This Answer Correct ? | 2 Yes | 31 No |
How do I trace sql profiler?
How does postgresql compare to mysql?
What cursor type do you use to retrieve multiple recordsets?
17 Answers Apollo, CTS, IonIdea, Microsoft, Oracle, TCS, Vmoksha, Wipro,
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
What is the maximum number of rows in sql table?
What is the advantage of index in sql?
What is rownum and rowid?
What is pl sql in oracle?
define join and explain different type of joins? : Sql dba
Is oracel sql developer written in java?
How does a self join work?
Explain the commit statement.