Anybody can tell me, how do we find second largest emp
salary from emp table.. Thanks in advance ...
Answer Posted / samad
Dear
here i am sending new ans u can give the value in parameter
SELECT SAL,NO FROM(
SELECT SAL ,ROWNUM NO FROM
(SELECT DISTINCT SAL FROM EMP ORDER BY SAL DESC)) WHERE NO=:N
Regards,
Samad
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is the difference between view and materialized view in Oracle?
Where do you use decode and case statements?
What is a sub query? Describe its types?
What is an oracle database?
Can a parameter be passed to a cursor?
Explain the use of indexes option in exp command.
when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.
How will you write a query to get a 5th rank student from a table student_report?
Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?
What is meant by joins? List out the types of joins.
What is a table index?
What is sequence?
What is the data pump import utility?
What is a procedure in oracle?
Explain the use of owner option in exp command.