diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml index 95559ef1ac..cf9c0890af 100644 --- a/doc/src/sgml/queries.sgml +++ b/doc/src/sgml/queries.sgml @@ -858,7 +858,7 @@ ORDER BY p; - A LATERAL item can appear at top level in the + A LATERAL item can appear at the top level in the FROM list, or within a JOIN tree. In the latter case it can also refer to any items that are on the left-hand side of a JOIN that it is on the right-hand side of.