how to find the second highest salary from emp table?
Answer Posted / satish kumar
Select Top1 salary
from(select Distinct Top2 salary from employee order by salary DESC) a order by salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is indexes?
Does truncate remove indexes?
What is the purpose of design view?
Where the sql database files are stored?
How to test for null values?
How many columns should be in an index?
What is rank function in sql?
Can we use loop in sql?
What is scalar function in sql?
how do you know the version of your mysql server? : Sql dba
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
Is pl sql better than sql?
What is coalesce sql?
Can dml statements be used in pl/sql?
Name some usages of database trigger?