find the third highest salary?
Answers were Sorted based on User's Feedback
Answer / justin
SELECT sal FROM empORDER BY sal DESC LIMIT 2 , 1
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / purushotham
select level,max(sal)
from table
where level=3
connect by prior sal>sal
group by level
| Is This Answer Correct ? | 0 Yes | 6 No |
Answer / mousumi dalai
select min(sal) from emp where sal in
(select sal from emp order by sal desc where ROWCOUNT <=3) ;
| Is This Answer Correct ? | 9 Yes | 36 No |
What is normalization in a database?
Explain how to use transactions efficiently : transact sql
What is native sql query?
What are different types of refreshment techniques of materialised view
Is sql a microsoft product?
What is a sql schema used for?
What is compiled query?
What are different clauses used in sql?
What is the difference between the conventional and direct path loader? : aql loader
Can we insert delete data in view?
How do I run a sql query?
Are subqueries better than joins?
Oracle (3253)
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)