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
What is the difference between mdf and ndf files?
What are the parameter modes supported by pl/sql?
Which are the different character-manipulation functions in sql?
How sql query is executed?
How can I speed up sql query?
Is it possible to pass parameters to triggers?
Is it mandatory for the primary key to be given a value when a new record is inserted?
How do you update a value in sql?
what is a composite key ? : Sql dba
What are field types?
what are the properties and different types of sub-queries? : Sql dba
What is data definition language?
Can a varchar be a primary key?
What is sql deadlock?
How to return an array from java to pl/sql?