How to Select second Maximum salary in a Table ?
Answer Posted / arpit sachan
select min(Emp_Sal)from Employee_Test where Emp_sal in(select distinct top(2) Emp_Sal from Employee_Test order by Emp_Sal desc)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the various types of snapshots ?
How many anonymous blocks can be defined?
How to store only time; not date and time?
What is Library Cache in Oracle?
What is a nested table and how is it different from a normal table?
What is a read only transaction in oracle?
What are the logical operations?
Explain temporal data types in oracle
Explain the use of grant option in imp command.
Why oracle is used?
Explain the use of compress option in exp command.
What is the parameter mode that can be passed to a procedure?
How to retrieve data from an explicit cursor?
How to define a data source name (dsn) in odbc manager?
How to commit the current transaction in oracle?