how to find the second highest salary from emp table?
Answer Posted / abir dutta
select min(empsal)
from (select * from sal order by empsal desc)
where rownum <=2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
difference between anonymous blocks and sub-programs.
Explain what is a subquery ?
how many ways to get the current time? : Sql dba
What is data control language (dcl)?
what is row? : Sql dba
What is the limitation on the block size of pl/sql?
How to use sql statements in pl/sql?
Can variables be used in sql statements?
What are different types of sql commands?
Is sql procedural language?
What are the advantages of pl sql over sql?
Differentiate pl/sql and sql?
What is output spooling in sql*plus?
What is difference between primary and secondary key?
When to use inner join and left join?