how to find the second highest salary from emp table?
Answer Posted / prasanthi
select * from (select rownum r,a.* from (select distinct
sal from emp order by sal desc)a)where r=&i
sql>enter i value(enter manually) 2
| Is This Answer Correct ? | 54 Yes | 62 No |
Post New Answer View All Answers
How can we store rows in PL/SQL using array?
What is dba in sql? : SQL DBA
How do you declare a user-defined exception?
What is duration in sql profiler trace?
How do you write an index?
what is the difference between union and union all? : Sql dba
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
what happens if null values are involved in expressions? : Sql dba
How do I start sql from command line?
Can we perform dml on view?
What are the basic techniques of indexing?
What is trigger types of trigger?
Can we use joins in subquery?
what is data control language? : Sql dba
what is oracle database ? : Sql dba