Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b02ed6

Browse files
committed
Clarify that NATURAL without matching columns is like CROSS JOIN.
As suggested by Grzegorz Szpetkowski.
1 parent 2a89042 commit 6b02ed6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/queries.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
266266
<literal>USING</>: it forms a <literal>USING</> list
267267
consisting of all column names that appear in both
268268
input tables. As with <literal>USING</>, these columns appear
269-
only once in the output table.
269+
only once in the output table. If there are no common
270+
columns, <literal>NATURAL</literal> behaves like
271+
<literal>CROSS JOIN</literal>.
270272
</para>
271273

272274
<para>

0 commit comments

Comments
 (0)