Find out the 3rd highest salary?
Answers were Sorted based on User's Feedback
Answer / xxx
select ename, salary from
(Select ename, salary, rownum
FROM emp where rownum<=3
Order by salary )
where rownum = 1
;
| Is This Answer Correct ? | 7 Yes | 20 No |
What is difference between CHAR and VARCHAR2?What is the maximum SIZE allowed for each type?
What is denormalization in a database?
Is it possible to access the current value in a session before accessing next value?
How many joins can you have in sql?
How do I edit a trigger in sql developer?
What is difference between stored procedure and trigger?
what is the main difference between join and subqurey?
What does bitemporal mean?
Two Methods of retrieving SQL?
7 Answers Atiric Software, Microsoft, Oracle, TCS, Wipro,
What are different clauses used in sql?
how to add a new column to an existing table in mysql? : Sql dba
how to convert character strings to dates? : Sql dba
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)