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 the difference between local and global temporary table?
What are the different sql commands?
how to check server status with 'mysqladmin'? : Sql dba
Sql technical questions
What has stored procedures in sql and how we can use it?
How do we use distinct statement? What is its use?
What is before and after trigger?
How do I copy a table in sql?
Why do we create views in sql?
What is sql stand for?
What are the string functions in sql?
What is multiple columns?
What is a crud api?
How to pipe multiline string to isql?
What is foreign key sql?