diff --git a/sql/quote_review.pg.sql b/sql/quote_review.pg.sql index 5f77c56..0f8ba6c 100644 --- a/sql/quote_review.pg.sql +++ b/sql/quote_review.pg.sql @@ -9,6 +9,8 @@ lq AS MATERIALIZED ( ,substring(lq.part,1,8) mold FROM pricequote.live_quotes lq + WHERE + qstat ~ '^Submitted' ) ,lqg AS ( SELECT