can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / preeti chauhan
CREATE TABLE T1(SALARY int, [NAME] varchar(50))
SELECT TOP 1 SALARY FROM (SELECT TOP 2 SALARY FROM T1 ORDER
BY SALARY DESC)T1 ORDER BY SALARY
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
How to divide query output into multiple groups with the group by clause in ms sql server?
Explain system views?
What is store procedure? How do they work?
How can we delete Duplicate row in table?
Distinguish between commit and rollback?
what happens on checkpoint? : Sql server database administration
Explain few examples of RDBMS?
What authentication modes does sql server support?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
What is query and its types?
What is stretch database in sql server?
How would you add a section to a table?
hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail
What are rest-style architecture's?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration