prevent joining to fake parts, and eliminate b21 filter
This commit is contained in:
parent
17265d0b36
commit
9826b5f810
@ -7,6 +7,10 @@ plist AS (
|
||||
,plnt
|
||||
FROM
|
||||
rlarp.osmf_dev
|
||||
-----prevent a list of fake parts
|
||||
INNER JOIN lgdat.stka ON
|
||||
v6part = part
|
||||
AND v6plnt = plnt
|
||||
)
|
||||
,clist AS (
|
||||
SELECT
|
||||
@ -33,7 +37,7 @@ FROM
|
||||
clist c
|
||||
WHERE
|
||||
c.part = o.part
|
||||
AND c.plnt = o.plnt
|
||||
AND version = 'b21';
|
||||
AND c.plnt = o.plnt;
|
||||
--AND version = 'b21';
|
||||
|
||||
commit;
|
Loading…
Reference in New Issue
Block a user