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 to use case expression? : Sql dba
explain about mysql and its features. : Sql dba
The select into statement is most often used to create backup copies of tables or for archiving records?
How many joins can you have in sql?
What are the two types of cursors in pl sql?
How do you break a loop in pl sql?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
What is the use of & in pl sql?
What is package in pl sql with an examples?
What is a join?
how many groups of data types? : Sql dba
Are left and right joins the same?
What is the difference between truncate and drop statements?
which operator is used in query for pattern matching? : Sql dba
How bulk collect improves performance?