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
Can you load data into multiple tables at once? : aql loader
Does varchar need length?
How can we link a sql database to an existing android app?
how many sql dml commands are supported by 'mysql'? : Sql dba
what are enums used for in mysql? : Sql dba
Why do we use view in sql?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
In a distributed database system, can we execute two queries simultaneously?
what are integrity rules?
Is stored procedure faster than query?
Explain the difference between triggers and constraints?
How do I remove all records from a table?
What is pl sql quora?
What is union and union all keyword in sql and what are their differences?
What is string join?