retail direct bug fix
This commit is contained in:
@@ -218,7 +218,7 @@ WITH NIAD_DWD_TABLE AS (
|
|||||||
'ROC' AS zk_region,
|
'ROC' AS zk_region,
|
||||||
a.sales_unit,
|
a.sales_unit,
|
||||||
a.sales_value,
|
a.sales_value,
|
||||||
a.counting_unit
|
a.sales_unit * (b.counting_unit/ coalesce(b.unit,1)) as counting_unit
|
||||||
from
|
from
|
||||||
dwd.dwd_gnd_ext_retail_nataional_niad a
|
dwd.dwd_gnd_ext_retail_nataional_niad a
|
||||||
left join dwd.dwd_gnd_ext_retail_pack_property b
|
left join dwd.dwd_gnd_ext_retail_pack_property b
|
||||||
|
|||||||
Reference in New Issue
Block a user