how to find the second highest salary from emp table?
Answer Posted / winnie
select max(sal) from emp
where sal not in (select max(sal) from emp )
| Is This Answer Correct ? | 1090 Yes | 131 No |
Post New Answer View All Answers
Can you call pl/sql package functions from within a fast formula?
can a stored procedure call itself or recursive stored procedure? : Sql dba
How do I upgrade sql?
How do I order by ascending in sql?
How to order siblings in oracle hierarchy queries?
How do you optimize a stored procedure query?
Does view contain data?
where are cookies actually stored on the hard disk? : Sql dba
how to include numeric values in sql statements? : Sql dba
What is a schema? How is it useful in sql servers?
How do sql databases work?
Why should I use postgresql?
Which command is used to call a stored procedure?
Is it possible to create startup or shutdown trigger for on-schema?
what are integrity rules?