Find out the 3rd highest salary?
Answer Posted / vivek
SELECT v.Emp_Sal
FROM Employee_Test v
WHERE 3=
(
SELECT COUNT(DISTINCT z.Emp_Sal)
FROM Employee_Test z
WHERE v.Emp_Sal<=z.Emp_Sal
)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can I see all tables in sql?
Why do we use joins?
What is an exception in pl/sql?
What is sql trigger example?
how to drop an existing view in mysql? : Sql dba
How to pipe multiline string to isql?
what are all the common sql function? : Sql dba
What are sql injection vulnerabilities?
Can one improve the performance of sql*loader? : aql loader
How to install oracle sql developer?
Why do we use set serveroutput on?
what is the use of friend function? : Sql dba
What is view? Can we update view
How many commands are there in sql?
What is hibernate and its relation to sql?