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
How do I view a table in sql?
What is a crud api?
Can we use delete in merge statement?
What can I use instead of union in sql?
What is a pragma statement?
What is the use of index in hive?
what are the authentication modes in sql server? How can it be changed? : Sql dba
What is the use of <> sql?
What is the location of pre_defined_functions.
what are the nonstandard string types? : Sql dba
What is the command used to fetch first 5 characters of the string?
How long it takes to learn pl sql?
how to get @@error and @@rowcount at the same time? : Sql dba
What is clustered index sql?
Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?