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!

How to add the sum of multiple rows

FriendlyToooMar 31 2022

Hi Folks:
I need to add the sum of quantity column.
Table SQL:
SELECT QUANTITY
FROM RECEIPTS_TABLE
WHERE REQUISTION := REQUISITION
AND FISCAL_YEAR := FISCAL_YEAR
AND LINE_NUMBER := LINE_NUMBER
I was thinking some kind of loop but couldn't figure it out. Any help would be appreciated.
Matthew

Comments
Post Details
Added on Mar 31 2022
3 comments
3,332 views