season should be 0 for last 4 months

This commit is contained in:
Paul Trowbridge 2025-01-29 16:47:41 -05:00
parent 74d9614191
commit a330da38c7

View File

@ -80,7 +80,7 @@ CREATE MATERIALIZED VIEW rlarp.price_pool AS (
,o.coltierd ,o.coltierd
,o.dataseg v1dataseg ,o.dataseg v1dataseg
,o.v0dataseg v0dataseg ,o.v0dataseg v0dataseg
,o.oseas oseas ,0 oseas
,round(sum(o.qty),0) units ,round(sum(o.qty),0) units
,round(sum(o.sales_usd),0) sales_usd ,round(sum(o.sales_usd),0) sales_usd
,round(sum(COALESCE(tp.target_price,tq.target_price) * o.qty),2) target_price ,round(sum(COALESCE(tp.target_price,tq.target_price) * o.qty),2) target_price