Previous: Table handling
Up: Table handling
Next: Combining tables with INTERSECTION (I)
Previous Page: Table handling
Next Page: Combining tables with INTERSECTION (I)

Combining tables with UNION (U)

Up to eight input tables may be combined into one new output table: UNION will select the observations which appear in either of the input tables. For example:

UNION/INP=(a1,b1,...)[/OUT=tablename]

The default output table name derives from the first input table name provided; in the example it would be `A2' if the output table was not specified.

The UNION function can also be performed by the SORT command (see section )>


Fri Aug 12 10:24:53 BST 1994