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
Do you know concepts and capabilities of sql server?
List the different types of joins?
How to get a list of columns using the "sp_help" stored procedure in ms sql server?
Define Unique Key?
Explain the etl (extraction, transformation, and loading)?
What are the properties of the transactions?
Explain the difference between delete,drop and truncate in SQL Server?
What is 1nf 2nf?
What is the maximum size of column in sql server?
What is a transaction and why is it important?
What are the different types of join?
Explain indexes disadvantages?
How to reaname table name without using sp_Rename in sql server..?
What are the two modes of authentication in sql server?
Are semicolons required at the end of sql statements in sql server 2005?