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
Which is faster joins or subqueries?
What is indexes?
What are tables in sql?
does sql support programming? : Sql dba
What are sql commands?
What will you get by the cursor attribute sql%found?
what is a database lock ? : Sql dba
What are types of joins?
how to check myisam tables for errors? : Sql dba
Explain the difference between triggers and constraints?
Name the operator which is used in the query for pattern matching?
how many columns can be used for creating index? : Sql dba
Can we commit in trigger?
What is the difference between row level and statement level trigger?
Explain the steps needed to create the scheduled job?