
with clist as (select shipto_group, dsm, sum(pounds) pounds from rlarp.osm_pool where order_season = 2026 group by shipto_group, dsm) select * from clist c left outer join rlarp.cust_flag f ON f.shipgrp = shipto_group and f.dsm = c.dsm;
