diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index ad4f7a33936..eb42daae132 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -601,8 +601,8 @@ HAVING condition
WINDOW window_name AS ( window_definition ) [, ...]
where window_name is
- a name that can be referenced from subsequent window definitions or
- OVER> clauses, and
+ a name that can be referenced from OVER> clauses or
+ subsequent window definitions, and
window_definition is
[ existing_window_name ]