UNION, INTERSECTION, DIFFERENCE and SYMDIFFERENCE - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

Version 1.4

SELECT * FROM GeometryOverlay (
  ON { table | view | (query) } AS SourceTable PARTITION BY { ANY | key }
  ON { table | view | (query) } AS ReferenceTable { DIMENSION | PARTITION BY key }
  USING
  SourceLocationColumn ('source_location_column')
  ReferenceLocationColumn ('ref_location_column')
  ReferenceNameColumns ({ 'ref_name_column' | ref_name_column_range }[,...])
  BoundaryOperator ({ 'UNION' | 'INTERSECTION' | 'DIFFERENCE' | 'SYMDIFFERENCE' })
  [ OutputAll ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
) AS alias;