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 does over partition by mean in sql?
What are dml commands?
What are the types of optimization?
what is a cursor? : Sql dba
Can we insert data in view?
How many tables can a sql database have?
How much does sql certification cost?
Does truncate need commit?
Which is better trigger or stored procedure?
What is the best sql course?
What is difference between hql and sql?
What is the least restrictive isolation level? : Transact sql
What is primary key secondary key alternate key candidate key?
what is msql? : Sql dba
What are the advantages of sql? Explain