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
What is aggregate function in sql?
Is sql a scripting language?
What steps server process has to take to execute an update statement?
What is data control language (dcl)?
How do I access sql anywhere database?
What are sql ddl commands?
What are the popular database management systems in the it industry?
Explain the steps needed to create the scheduled job?
What is a recursive join sql?
What is the purpose of normalization?
Can primary key be changed?
what is sql in mysql? : Sql dba
What is restrict in sql?
How to pipe multiline string to isql?
What are the most important ddl statements in sql?