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
Which command is used to call a stored procedure?
Which constraints we can use while creating database in sql?
What are sql objects?
How do I remove sql developer from windows 10?
how to check server status with 'mysqladmin'? : Sql dba
Explain dml and ddl?
What is trigger point?
How do I view a table in sql?
What are aggregate functions in sql?
how many triggers are allowed in mysql table? : Sql dba
What operators deal with null?
What is the purpose of cursors in pl/sql?
Does a join table need a primary key?
Can we use two order by clause in query?
Is join same as left join?