how to find the second highest salary from emp table?
Answer Posted / ayush
select *
from (select ename,empno,salary,dense_rank()over(order by
salary desc) rank from emp)
where rank =2
| Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
What is embedded sql what are its advantages?
what is uncommittable transactions? : Transact sql
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews
What is the difference between inner join and outer join?
What are the three forms of normalization?
What is Collation Sensitivity ? What are the various type ?
What is sql stand for?
What is data manipulation language?
What is a table partition?
What is the difference between inner join and left join?
How to write pl sql program in mysql command prompt?
How does an execution block start and end in pl sql?
Is there any restriction on the use of union in embedded sql?
What are sql injection vulnerabilities?
How many sql databases can you have on one server?