Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting MAX , Second MAX , and SUM

prooraFeb 23 2011 — edited Feb 23 2011
Hello world,

in EMP table ,

i want to get MAX and Second MAX Salary for Department 30 and total for department 10 in one row .

Like this

Higher Salary-----Second higher Salary-----total dept 10
2850-----1600-----8750


Regards ,
This post has been answered by munky on Feb 23 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2011
Added on Feb 23 2011
13 comments
1,023 views