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 use dbms_output.put_line in a function u are telling as return statement
How can you create Cursor with parametres ?
What is full form of rtm?
What is basic structure of pl sql?
What is the difference between pl and sql?
Explain the difference between sql and mysql.
what is oltp (online transaction processing)? : Sql dba
what is normalization? : Sql dba
How many tables can you join in sql?
there are 2 variables called x and y ,x contains 1,2 and y contains 3,4 we have to swap the values from x to y and y to x with out using dummy variables and it can be done only by using a single statement ? how?
What do you mean by rowid?
Why do we use set serveroutput on?
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)