Skip to Main Content

Oracle Database Discussions

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!

Qwery

Rosh_dbaMay 20 2014 — edited May 20 2014

Hi,

I have a oracle table.

Quarter

Account_Name

Account_Amount

Q1

A

20,000

Q1

B

10,000

Q2

A

50,000

Q2

C

10,000

By querying the above table i want the below result. Any help is much appreciated

Q1_Account_Name

Q2_Account_Name

Account_Amount_Diff

A

A

50,000-20,000=30,000

B

-10,000

C

10,000

This post has been answered by ddf_dba on May 20 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2014
Added on May 20 2014
3 comments
1,565 views