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
What is package in pl sql with an examples?
what are tables and fields? : Sql dba
What are the types of index in sql?
How to write a query to show the details of a student from students table whose
What are stored procedures used for?
Is sql a dbms?
give the syntax of grant and revoke commands? : Sql dba
What are crud methods?
Can we perform dml in function?
Explain the update statement in sql
What is the use of double ampersand (&&) in sql queries? Give an example
What does select count (*) mean in sql?
How do I truncate a sql log file?
How many types of tables are there?
How to display the records between two range in Oracle SQL Plus?