how to find the second highest salary from emp table?
Answer Posted / yash goyal
Select slary from
(select salary from empolyees
order by salary desc
where rownum<=&no.)
order by salary Asc
where rownum=1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a database trigger?
Can pl sql procedure have a return statement?
Compare sql & pl/sql
What packages are available to pl/sql developers?
Give the order of sql select?
Does pl/sql support create command?
How do I send sql query results to excel?
Does user triggers have entry for trigger with compilation errors?
What is difference between left and right outer join?
Is sql pronounced sequel or sql?
Explain the insert into statements in sql?
What is type and rowtype in pl sql?
how to convert dates to character strings? : Sql dba
What is schema in sql example?
What does bitemporal mean?