how to find the second highest salary from emp table?
Answer Posted / manoj
select * from emp
where
sal=(select MAX(sal) from emp
where
sal<(select MAX(sal)from emp))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is data control language (dcl)?
what is schema? : Sql dba
Is sql open source?
Is microsoft sql free?
what is blob? : Sql dba
How many databases can sql express handle?
what is sql? : Sql dba
What is the use of non clustered index?
What is sql performance tuning?
What sql database should I use?
What is the difference between truncate and drop statements?
When is a declare statement required?
Which table is left in left join?
Is vs as in pl sql?
what is the use of set statement in tsql? : Transact sql