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
How to get the definition of a stored procedure back?
What are Row versions of DataRow?
Which is faster statement or preparedstatement?
What is normalization and its types?
Why is the need for data conversion transformations?
How to assign null values to variables or columns?
What are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture
How display code or Text of Stored Procedure using Sql query in Sql Server ?
What is difference between commit and rollback when used in transactions?
Tell me what is fill factor?
Tell me what is sql profiler?
What is difference between count (*) and count column?
What is abstracting periodical?
Do you know the different ddl commands in sql?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date