How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / ajeet
SELECT first_name, salary FROM employees E1
WHERE (3) > (SELECT COUNT(DISTINCT(E2.salary))
FROM employees E2
WHERE E1.salary > E2.salary)
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do you remove duplicates without using distinct in sql?
What is number function in sql?
What are the types of triggers in sql?
Is time a data type in sql?
What is loop in pl sql?
What are the uses of merge?
How do I create a sql database?
what is the use of friend function? : Sql dba
How do you delete duplicates in sql query using rowid?
what is bdb (berkeleydb)? : Sql dba
what are the disadvantages of mysql? : Sql dba
Can we join 3 tables in sql?
Why are sql stored procedures used?
What is thread join () in threading?
Can we create clustered index without primary key?