diff --git a/umbra/queries/bi-20.sql b/umbra/queries/bi-20.sql index 632a7197..af2d2842 100644 --- a/umbra/queries/bi-20.sql +++ b/umbra/queries/bi-20.sql @@ -17,7 +17,7 @@ anyPath(pos) as ( with ss as (select pos from anyPath) select dst - from anyPath, PathQ20 + from ss, PathQ20 where pos = src and not exists (select 1 from ss, dsts where ss.pos = dsts.t) ) ),