How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / raju t.t
select firt_name, salary from employees a where 5=(select
count(distinct salary from employees b where a.salary
<=b.salary);
| Is This Answer Correct ? | 6 Yes | 7 No |
Post New Answer View All Answers
What is composite primary key in sql?
What is rownum and rowid?
What is a temporal table?
What is varchar used for?
What does the file extension accdb stand for?
How does a covering index work?
Why do we use %rowtype & %type in plsql?
What is a table in a database?
How subquery works in sql?
What is a database event trigger?
How do I view an execution plan in sql?
Is microsoft sql free?
What is secondary key?
Is inner join faster than left join?
What does count (*) mean?