Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / rajesh.m
Crete Table Curtest(Emp char(40),salary money)
------------------------------------------------
Select Min(Salary) from Curtest where Salary
in (select Top 2 Salary from Curtest)
--------------------------------------------------
Is This Answer Correct ? | 21 Yes | 33 No |
Post New Answer View All Answers
Why do we use %rowtype & %type in plsql?
How do I pipe the output of one isql to another?
What is primary key and unique key?
What are the 3 modes of parameter?
What is a .db file?
what are the authentication modes in sql server? How can it be changed? : Sql dba
What is difference sql and mysql?
How do you use collections in procedure to return the resultset?
What are sql objects?
What is the syntax to add a record to a table?
What is string data type in sql?
What is the difference among union, minus and intersect?
What is full join?
explain the difference between myisam static and myisam dynamic. : Sql dba
what is 'trigger' in sql? : Sql dba