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 |
Can i possible to see Table Details ? Ex : Table Name Date Time User Emp May/18/2010 12:59pm Scott
What is set serveroutput on?
HOW TO APPEAR FOR ONLINE EXAMS OF SQL & PL/SQL? WHICH BOOKS WILL BE BETTER FOR REFERENCE TO QUALIFY THESE EXAMS? ARE THERE ANY MODEL PAPERS AVAILABLE IN THE MARKET ABOUT SQL & PLSQL?
Why do we use subquery?
What are the sql versions?
package specification-3 procedures package body-2 procedures will is execute
What is range partitioning?
What is program debugging?
How to run sql commands in sql*plus?
Differentiate between % rowtype and type record.
What is the first action to perform a query? Suppose I have four tables and five joins and my query is getting slow day by day.
Explain the difference between triggers and constraints?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)