how to calcuate the second highest salary of he employee
Answer Posted / shailesh
select sal from emp where sal=(select max(sal) from emp
where sal<(select max(sal) from emp);
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to fetch alternate records from a table? : Sql dba
Explain isolation levels. : Transact sql
What is a function in oracle pl sql?
Are dml statements autocommit?
tell us something about heap tables. : Sql dba
Can we use joins in subquery?
What is Collation Sensitivity ? What are the various type ?
What is before trigger?
Why is sql better than hql?
What are different clauses used in sql?
Why indexing is needed?
What does t sql mean?
How to read xml file in oracle pl sql?
What is using in sql?
If a cursor is open, how can we find in a pl/sql block?