Please get the 4 th maximum salary from a table without
using any sql keyword (TOP,MAX are mot allowed)
Answer Posted / suresh
select payout,emp_cd from empmas e where 2>(select count(payout) from empmas s where s.payout>e.payout);
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How do I find my localdb version?
What is difference between inner join and full join?
How do you create an execution plan?
Why use “in” clause in sql server?
How to create a new schema in a database?
do you know how to configure db2 side of the application? : Sql server database administration
What does <> symbol mean?
Do you know what is rank function?
How do I view views in sql server?
What is a performance monitor?
How to copy data from one table to another table?
what's new in sql server 2016?
How use inner join in sql server?
What are security principals used in sql server 2005?
What is the fillfactor concept in indexes?