how to find the second highest salary from emp table?
Answer Posted / vikas
select top 1 salary from emp
where salary in (select top 2 salary from emp order by salary desc)order by salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are triggers and its types?
How do you truncate?
What is data abstraction in sql?
What is a primary key example?
What is foreign key sql?
Why do we use %rowtype & %type in plsql?
What is difference between my sql and sql?
What trigger means?
What is rownum?
What does data normalization mean?
What is dml and ddl?
How do you modify a column in sql?
what is a record in a database ? : Sql dba
Do ddl statements need commit?
explain advantages of innodb over myisam. : Sql dba