how to find the second highest salary from emp table?
Answer Posted / vinodkumar
select *from(select *from emp orderby sal desc)where
ronum<=2 minus select *from (select *from emp order by sal
desc ) where rownum<=1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an implicit commit?
what is auto increment? : Sql dba
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 pl/sql table? Why is it used?
What is primary key secondary key alternate key candidate key?
What is the maximum size of sqlite database?
What does joining a thread mean?
What are schema-level triggers?
What is substitution variable in pl sql?
Why do we need cursors in pl sql?
Can you have a foreign key without a primary key?
what is schema? : Sql dba
Is a table valued function object?
Which join condition can be specified using on clause?
how to check myisam tables for errors? : Sql dba