can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / divya
select max(sal) from tablename where sal<(select
max(sal)from tablename)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is sql server profiler?
Where does the copy job runs in the log shipping primary or secondary? : sql server database administration
How do I start sql server 2017?
Define self join?
What are the different types of triggers in SQL SERVER?
What are window functions in sql server?
How do I setup a local sql server database?
Can we call stored procedure in view in sql server?
Explain sql server authentication modes?
What is the minimum recommended amount of ram for sql server 2012 enterprise?
What is the difference between Stored Procedures and triggers?
What is update_statistics command?
What is equi join with example?
What are the differences between local and global temporary tables?
Why should one not prefix user stored procedures with ‘sp_’?