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
Explain alias in sql?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
What if we write return in procedure?
Explain the purpose of %type and %rowtype data types?
What is the non-clustered index in sql?
Is t sql a programming language?
What is the purpose of primary key?
What are views in sql?
How many row comparison operators are used while working with a subquery?
How does a covering index work?
Explain character-manipulation functions?
What company owns postgresql?
What is sqlexception in java?
What is a schema? How is it useful in sql servers?
What is java sql drivermanager?