Query to get max and second max in oracle in one query ?
Answers were Sorted based on User's Feedback
Answer / braulio
-- that's it
select * from
(select max(salary) from salary)
where rownum = 2
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / bhamidipati srinivas
select (select max(gross) from employee_dtls),(select max
(gross) as nextmaximum
from employee_dtls where gross<(select max(gross) from
employee_dtls)) from dual
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / sdfsfsdf
to install .sh files(.exe files)in linux.copy the file
inusr.
open terminal go to usr and type bash ./follwed by file name
(can use tab key)
here.
to unistall java in linux we can use rm command
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / naveen
select sal from employee where sal >= (select max(sal) from
employee where sal not in (select max(sal) from employee))
| Is This Answer Correct ? | 7 Yes | 14 No |
A and B are tables. x is a column. Then What is difference between A.x = B.x(+) and A.x = B.x ?
In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??
Is it possible to disable the parameter from while running the report ?
pls explain connect by prior with example and its real time use
What is a proxy class?
What happens if you set the sga too low in oracle?
How many types of tables supported by oracle?
How to loop through data rows in the implicit cursor?
How to initialize variables with default values?
How to use "while" statements in oracle?
What is merge in oracle?
What happens to the current transaction if the session is killed?