can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / mahesh
Select max(sal) from emp
where id='1233' and Sal< (select max(sal) from emp)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is an index. What are the types?
What are the differences between web role and worker role?
What is row_number () and partition by in sql server?
What is the use of commit?
What are the kinds of subquery?
Can we add our custom code in ssis?
Explain can you implement data mining in ssrs?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?
What is 3nf normalization?
List all types of constraints in sql server?
Why the trigger fires multiple times in single login?
What is a data source or ds? : sql server analysis services, ssas
How to execute a stored procedure in ms sql server?
What are the components of sql server service broker?
What is difference between stored procedure and user defined function?