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
Sql technical questions
What is left inner join in sql?
How do I count records in sql?
How global cursor can be declare with dynamic trigger ?
What are all the ddl commands?
What are tables and fields?
What is a design view?
how to present a past time in hours, minutes and seconds? : Sql dba
What is user in sql?
What is the basic form of sql query?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
Is mariadb nosql?
Why do we use subquery?
what is sub-query? : Transact sql
What is a natural join?