how to find the second highest salary from emp table?
Answer Posted / pramila
not only seceond highest . you can retrieve 2nd , 3rd.....
highest salary form this query
select min(Salary) from
(select distinct top 2 Salary from tblCategory order by
Salary desc) as tblCategory
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a natural join?
Is it possible to create the following trigger: before or after update trigger for each row?
What are the different sql languages?
Is a view faster than a stored procedure?
How many rows can sqlite handle?
What is a temporal data type?
Is natural join same as inner join?
Does sap use sql?
How do I access sql anywhere database?
List the different type of joins?
What's the difference between a primary key and a clustered index?
How many developers work on postgresql?
What is sql data?
what is the difference between char_length and length? : Sql dba
What is the purpose of my sql?