input tables. As with USING, these columns appear
only once in the output table. If there are no common
column names, NATURAL JOIN behaves like
- JOIN ... ON TRUE, producing a cross-product join.
+ CROSS JOIN.
If multiple grouping items are specified in a single GROUP BY
- clause, then the final list of grouping sets is the cross product of the
+ clause, then the final list of grouping sets is the Cartesian product of the
individual items. For example:
GROUP BY a, CUBE (b, c), GROUPING SETS ((d), (e))