Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / swapnil tikale
Select top 1 salary from (select distinct top 2 salary from employee order by salary desc) as sal order by salary ;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which type of cursor is used to execute the dml statement?
How to use boolean type in select statement?
What is a table partition?
Why we use join in sql?
Can sql developer connect to db2?
How to rename a table?
what are the security recommendations while using mysql? : Sql dba
How much does sql certification cost?
What does the base_object_type column shows in the user.triggers data dictionary view?
what are all the different types of indexes? : Sql dba
how to convert character strings to numeric values? : Sql dba
Does mysql support pl sql?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
what is normalization? : Sql dba
Which is faster count (*) or count 1?