can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / kumar_kisna
select max(salary) from table where salary<(select max
(salary) from table)
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is difference statement and preparedstatement?
How do you troubleshoot errors in a SQL Server Agent Job?
What is tempdb database? : SQL Server Architecture
How do I open port 1433?
How to use subqueries with the exists operators in ms sql server?
What new data source types were added in ssrs 2014?
Can you type more than one query in the query editor screen at the same time?
What is dirty read?
what are triggers? : Sql server database administration
How to compare the top two records using sql?
how can a database be repaired? : Sql server administration
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
what is database replication? : Sql server database administration
Do you know how to implement service broker?
Tell me about pre-defined functions of sql?