Пробный индекс неактуальных пунктов

This commit is contained in:
Jack Stdin
2016-02-18 15:07:40 +03:00
parent ce934b9f1b
commit 9f67e139d6
2 changed files with 4 additions and 4 deletions

View File

@@ -9,6 +9,6 @@
PATH.fullname || ', ' || child.shortname || ' ' || child.formalname AS fullname
FROM "ADDROBJ" AS child
, PATH
WHERE child.parentguid = PATH.aoguid AND actstatus = TRUE AND livestatus = TRUE AND nextid IS NULL
WHERE child.parentguid = PATH.aoguid
)
SELECT * FROM PATH WHERE AOLEVEL NOT IN (1,3)