how to find the second highest salary from emp table?
Answer Posted / rameshwari
select ename,esal from
(select ename,esal from hsal
order by esal desc)
where rownum <=2;
| Is This Answer Correct ? | 123 Yes | 242 No |
Post New Answer View All Answers
Explain the advantages and disadvantages of stored procedure?
How sql query is executed?
what is the difference between $message and $$message? : Sql dba
What are the three pl sql block types?
Is postgresql a nosql database?
Does sql profiler affect performance?
what are the differences between require and include, include_once and require_once? : Sql dba
Can we use join in subquery?
What is sql used for?
what is offset-fetch filter in tsql? : Transact sql
How to display the records between two range in Oracle SQL Plus?
What is the usage of distinct keyword?
How do I install sql?
What is trigger in sql? Explain
Explain unique key in sql.