can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / mahesh
Select max(sal) from emp
where id='1233' and Sal< (select max(sal) from emp)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Define Wed Edition in SQL Azure?
What is the maximum row of a size?
Explain table valued parameters in sql server? Why tvp used?
What to perform pattern match with the like operator?
Tell me what is de-normalization and what are some of the examples of it?
What are the main differences between #temp tables and @table variables and which one is preferred?
How to rebuild indexes with alter index ... Rebuild?
How to get the definition of a view out of the sql server?
Can sql servers link to other servers like oracle?
How to apply cascading referential integrity in place of triggers?
What is sql language?
How to perform key word search in tables?
Is there any difference between primary key and unique with the not null condition?
Explain the different types of backups available in sql server? : sql server database administration
What is bcp? When does it use?