diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml index 6986ec5c92..3f9584928c 100644 --- a/doc/src/sgml/queries.sgml +++ b/doc/src/sgml/queries.sgml @@ -864,7 +864,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.