diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index ea3c60a3eed..814a6708f00 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -1,5 +1,5 @@
@@ -59,7 +59,7 @@ and with_query is:
with_query_name [ ( column_name [, ...] ) ] AS ( select )
-TABLE [ ONLY ] table_name [ * ] | with_query_name
+TABLE { [ ONLY ] table_name [ * ] | with_query_name }