Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / akshay
Select ename, eno, sal, rownum
from (select ename, eno, sal from emp order by sal desc)
where rownum = 2;
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
Why do we use procedures?
Can one improve the performance of sql*loader? : aql loader
How can we store rows in PL/SQL using array?
What is difference between pls_integer and integer?
Can we use pl sql in sql server?
what is sql? : Sql dba
What are the types of join in sql?
Differentiate between sga and pga.
What is pl sql commands?
Which is better join or subquery?
How do I debug a stored procedure?
what are the advantages and disadvantages of cascading style sheets? : Sql dba
What is a sql statement?
what are tables and fields? : Sql dba
How are functions and procedures called in PL/SQL?