can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / harikumar
select max(salary) as secondMax from employee where salary
<> (select max(salary) from employee)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is blocking? : Sql server database administration
Do you know data definition language, data control language and data manipulation language?
Explain stored procedure?
What is the minimum recommended amount of ram for sql server 2012 enterprise?
What is the difference between local and global temporary tables?
What is microsoft sql server?
What is a collation in ms sql server?
Where sql server usernames and passwords are stored in a sql server?
How to create indexed view?
What is resource governor in sql server?
What is the purpose of sql profiler in sql server? : sql server database administration
Explain what is the function of sql server agent windows service?
What is a transactions?
Explain security with sql azure?
How should i optimize the time for execution of stored procedure having single input and many output from the different tables?