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
What is the main reason behind using an index?
How do I install microsoft sql?
Can we join two tables without common column?
Explain foreign key in sql?
What is nvarchar max in sql?
What view means?
what is a trigger in mysql? : Sql dba
What is an inconsistent dependency?
What packages(if any) has oracle provided for use by developers?
what are all different types of collation sensitivity? : Sql dba
What are the most important ddl statements in sql?
How can we make an if statement within a select statement?
What is a join query?
What is a scalar value in sql?
What is audit logout in sql profiler?