can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / elumalai.k
select max(salary)from tablename where salary <(select
max(salary)from tablename)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is database black box testing?
What is the use of sign function?
How you can find out if an index is useful to the optimizer?
How can you hide the sql server instances?
What are the different types of subquery?
What is difference between rollback immediate and with no_wait during alter database?
Do you know what is openxml in sql server?
What is the use of keyword with encryption. Create a store procedure with encryption?
What are Spatial data types in SQL Server 2008
What is right outer join in sql server joins?
How do I view a script in sql server?
How do you clear a log file?
What is a fan-out query in SQL Azure?
Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication
Define self join in sql server joins?