Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / sushant hole
select max(salary) from employees where salary<(select max(salary) from
employees);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What trigger means?
Why do we use cursors?
What are the different types of a subquery?
Can we join two tables without common column?
what is offset-fetch filter in tsql? : Transact sql
Define union, minus, union all, intersect ?
What is clustered and nonclustered index in sql?
what does the t-sql command ident_current does? : Transact sql
Explain what is an index?
What is fmtonly in sql?
what is the command used to fetch first 5 characters of the string? : Sql dba
Is sql a programming?
What is sqlerrm?
Can we insert data into view?
Can we write dml inside a function in sql server?