how to find the second highest salary from emp table?
Answer Posted / adithya
select min(sal) from (select distict sal from emp where
rownum<3 order by sal desc)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is rank dense_rank and partition in sql?
How do you truncate?
Is foreign key mandatory?
Can you upgrade sql express to full sql?
how to load data files into tables with 'mysqlimport'? : Sql dba
Where not exists in sql?
Can a varchar be a primary key?
Which normal form is best?
what is column? : Sql dba
What is pl sql in oracle?
Is postgresql a server?
How to revise and re-run the last sql command?
Are null values same as that of zero or a blank space?
Is inner join faster than left join?
How do I partition a table in sql?