Write a query to find second highest salary of an employee.
Answer Posted / preetir
select min(sal) from (select distinct sal from emp order by
desc where rownum < 2)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between drop and truncate commands in sql?
what are the differences between char and nchar? : Sql dba
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
Is sql low level language?
What is left join in sql?
How to select 10 records from a table?
How many postgresql users are there, worldwide?
What are different types of indexes?
What is dialect in sql?
What is sql exception?
Does sql full backup truncate logs?
Mention what does the hierarchical profiler does?
Is primary key clustered index?
which operator is used in query for pattern matching? : Sql dba
What is sql performance tuning?