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
What is the exact numeric data type in sql?
Comment,Datatypes are unlimited
what is bit datatype? : Sql server database administration
Write a SQL queries on Self Join and Inner Join.
Define msdb database?
Explain Capacity planning to create a database? and how to monitor it?
What is the use of tempdb? What values does it hold?
What are the different types of join?
What is difference between sql and sql server?
In which sql server version report builder introduced?
How to apply cascading referential integrity in place of triggers?
What is a self join in sql server?
What do you understand by the analysis services in sql server?
What’s the use of custom fields in report?
What are Spatial data types in SQL Server 2008