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
What is sqlerrm?
Explain constraints in sql?
What is a full join?
What are the different dml commands in sql?
How delete all data from all tables in sql?
What is a pragma statement?
How exception is different from error?
What is view? Can we update view
What is the advantage of nosql?
How do you create a db file?
Explain the uses of database trigger.
What is mutating sql table?
what is an alias command? : Sql dba
What are the most important characteristics of pl/sql?
what is the use of double ampersand (&&) in sql queries?