prevent joining to fake parts, and eliminate b21 filter

This commit is contained in:
Paul Trowbridge 2020-04-16 19:15:55 -04:00
parent 17265d0b36
commit 9826b5f810

View File

@ -7,6 +7,10 @@ plist AS (
,plnt ,plnt
FROM FROM
rlarp.osmf_dev rlarp.osmf_dev
-----prevent a list of fake parts
INNER JOIN lgdat.stka ON
v6part = part
AND v6plnt = plnt
) )
,clist AS ( ,clist AS (
SELECT SELECT
@ -33,7 +37,7 @@ FROM
clist c clist c
WHERE WHERE
c.part = o.part c.part = o.part
AND c.plnt = o.plnt AND c.plnt = o.plnt;
AND version = 'b21'; --AND version = 'b21';
commit; commit;