how to find the second highest salary from emp table?
Answer Posted / em rao
select max(sal)
from emp
where sal<
(select max(sal)
from emp;)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why coalesce is used in sql?
how can we submit a form without a submit button? : Sql dba
what is an index? : Sql dba
What is a trigger in sql?
What is the difference between a primary key and a clustered index?
what is 'trigger' in sql? : Sql dba
Explain spool.
What is gpt format?
Can function return multiple values in sql?
What are local and global Indexes and where they are useful.
What are the ways on commenting in a pl/sql code?
What is the difference between left outer join and left join?
How to write pl sql program in mysql command prompt?
What plvcmt and plvrb does in pl/sql?
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba