haoyi& chenwu
This commit is contained in:
2026-04-29 03:44:18 +00:00
parent 4dd59b2095
commit a75f3e9db4
4 changed files with 51 additions and 12 deletions

View File

@@ -12,7 +12,7 @@
--Retail直取中DTP的手工文件里的pack_cod
----------------------------------------------------------------------------
with external_sales as (
select distinct PACK_COD
select distinct PACK_CODE AS PACK_COD
from dm.DM_TF_EXT_UNIONALL_SALES
union
select distinct pack_cod
@@ -80,4 +80,4 @@ where CORP_COD in (
where a.CORP_COD = b.CORP_COD
)
)
group by 1
group by 1