can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / swapnl
select max(sal) from emp_det where sal not in (
select max(sal) from emp_det);
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to insert new line characters into strings?
How to configure and test odbc dsn settings?
define and explain the differences between clustered and non-clustered indexes.
What are the advantages of partitioning?
What are the rules to use the rowguidcol property to define a globally unique identifier column?
What are the mathematical functions supported by sql server 2005?
What the class forname () does?
Where cross join is used?
Can sql servers linked to other servers like oracle?
What is ssrs?
What do you understand by coalesce in sql server?
How many instances per computer are there in sql server 2000?
How to see the event list of an existing trigger using sys.trigger_events?
How to disable a login name in ms sql server?
Write a program to fetch first 10 records from a file?