how to find the second highest salary from emp table?
Answer Posted / abir dutta
select min(empsal)
from (select * from sal order by empsal desc)
where rownum <=2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to sort a column using a column alias?
What are the ddl commands?
What is the difference between count 1 and count (*) in a sql query?
What is benefit of creating memory optimized table?
How to find 3rd highest salary of an employee from the employee table in sql?
What is nvarchar in sql?
What is the sql query to display the current date?
What is difference between rank () row_number () and dense_rank () in sql?
How to take user input in pl sql?
What is a null value?
What is sql basics?
Is pl sql useful?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
what is a database transaction? : Sql dba
How does sql profiler work?