Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Getting sum on Totals and Adjusted totals

$
0
0
Author: balaji81_k
Posted: Mon Mar 27, 2017 8:10 am (GMT 5.5)

Hi Rohit,

The Query posted is working and i want to have an idea that if i can get total sum(sales + adjusted sales) group by store_nbr across all dist .
If i use SUM after case statement it doesn't work and throws error
SQLCODE = -122 not a valid context.

Thanks
Balaji K
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.


Viewing all articles
Browse latest Browse all 8500

Trending Articles