can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / kumar
1 My Second Answer.
Select Top 1 * From Tablename where salary in
(select top 2 salary from tablename order by salary desc)
order by salary asc.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How do I start sql server 2017?
what is a join? : Sql server database administration
What are blobs, tables, and Queues? Is SQL is the standard way to query blobs, tables, and queues?
Define model database?
What are the five major components of a dbms?
How to encrypt Strored Procedure in SQL SERVER?
What are 3 ways to get a count of the number of records in a table?
What is a bit datatype?
How to create an inline table-valued function?
Describe in brief sql server monitoring ways.
When would you use a before or after trigger?
How do you send email on SQL Server?
What are the methods used to protect against sql injection attack?
Name three of the features managed by the surface area configuration tool? : sql server security
Tell me what is the order in which the sql query is executed?