Hi!
I would like editor access to the wiki, my username is Antonmel
and i would like to modify https://wiki.postgresql.org/wiki/CTEReadme.
Seems there should be:
SELECT d.*
FROM
department AS d
JOIN
WT AS sd
ON d.parent_department = sd.id
instead of:
SELECT d.*
FROM
WT AS d
JOIN
subdepartment AS sd
ON d.parent_department = sd.id
With the best regards,
--
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company