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
What is sql server used for?
How to bind a view to the schema of the underlying tables?
Define cursor locking
How to use "begin ... End" statement structures in ms sql server?
How can you hide the sql server instances?
How do you delete duplicate rows in sql server?
Does hive support indexing?
Define right outer join in sql server joins?
Tell me about the approaches which you used to counter the DI problems.
What is SQL Azure Firewall?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
Which tcl commands are available on the sql server?
What are the steps to insert a table?
Why truncate is ddl command?
Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture