can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / naufal basheer
select e.* from
(select row_number() over (order by salary desc) as Rno,*
from employee)e
where e.Rno = 2
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to automatically create a log when an exception is being received into SQL Server?
Does sql server use java?
How to provide login information for a new odbc dsn?
Define Wed Edition in SQL Azure?
How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.
Can two tables share a primary key?
What is the difference between sdf and mdf?
What is subreport?
What is use of attribute hierarchy optimized state? : sql server analysis services, ssas
What are drillthrough reports?
How much is a sql server license?
What is ms sql server service broker?
Can select statements be used on views in ms sql server?
What are security principals used in sql server 2005?
List some advantages and disadvantages of stored procedure?