Professional Documents
Culture Documents
UPDATE temp_stg_inter_retailtransaction a
set net_sales_amount_non_product = (SELECT totalrecalc AS
net_sales_amount_non_product
from temp_src_mystore_cashsheet_taxcalculationsnonproductsales b
where
a.store_no = b.store_no and a.businessday = b.businessday and b.namerecalc = 'Saudi
Riyadh 15% TAX rec.'
GROUP BY store_no,businessday,totalrecalc) where 1=1;