Find out the 3rd highest salary?
Answer Posted / vikram kumar
SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP 3 salary
FROM employee
ORDER BY salary DESC) a
ORDER BY salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Where can I learn sql for free?
Can we connect to postgresql using sql developer?
What is a data definition language?
how to show all tables with 'mysql'? : Sql dba
Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?
Which is faster joins or subqueries?
What is the advantage of index in sql?
What is a null value?
Is sql port 1433 encrypted?
What is the example of procedure?
How do I start sql profiler?
Is oracel sql developer written in java?
What is the best free sql database?
what happens if null values are involved in expressions? : Sql dba
what is the use of double ampersand (&&) in sql queries?