find out the second highest salary?
Answer Posted / v.karthikeyan
select * from emp
where &n-1=(select count(distinct(sal)) from emp b
where emp.sal<b.sal)
Is This Answer Correct ? | 62 Yes | 30 No |
Post New Answer View All Answers
How to create an oracle testing table?
What is the difference between count (*), count (expression), count (distinct expression)?
Explain cascading triggers.
if you ctreate table identity
How to create a table index?
What is columnar storage what is the advantage?
HI, Please let me know the syllabus for Oracle OCA and OCP Certification
How remove data files before opening a database?
How to start an oracle instance?
What is a proxy class?
Is there any function in oracle similar like group_concat of mysql?
Explain the difference between sap and oracle?
What are the database administrators utilities available?
What is meant by a deadlock situation?
What are the major difference between truncate and delete?