find out the second highest salary?
Answer Posted / sumeet
select min(sal) from emp where sal in (select top 2 sal from
emp order by sal desc);
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the usage of analyze command in oracle?
What happens if variable names collide with table/column names?
How to create a single index for multiple columns?
How to convert raw data type into text in oracle? Explain
Explain alias?
How to assign values to data fields in record variables?
What is merge statement used for?
Define oracle database
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
What are the types of trigger in oracle?
what is normalisation?what are its uses?
please explain.. DB architecture ...
What are the different pseudo commands? Explain in general?
Is it possible to set second Primary Key Constraint in a table in Oracle Database ?
What is the recommended interval at which to run statspack snapshots, and why?