how to find the second highest salary from emp table?
Answer Posted / jigar r gor
Select sal from emp where sal < (select max(sal)from emp)
and rownum < 2 order by sal desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can delete statement be rollbacked?
Define implicit and explicit cursors.
what is sp_pkeys? : Transact sql
What is difference between joins and union?
what is a foreign key ? : Sql dba
What is sql in oracle?
What are the various restrictions imposed on view in terms of dml?
What are the types of dbms?
Why functions are used in sql?
What is pl sql in oracle?
what are the different type of normalization? : Sql dba
What is trigger explain with example?
What is pl sql in dbms?
Explain what is a database?
What is sql lookup?