1.0 - 8.00 - Conditional Sampling, Approximate Sample Size - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Version 1.5

SELECT * FROM Sampling (
  ON { table | view | (query) } AS data PARTITION BY { ANY | key }
  ON { table | view | (query) } AS summary DIMENSION
  USING
  StratumColumn ('stratum_column')
  Strata ('condition' [,...])
  ApproxSampleSize (total_sample_size)
  [ Seed (seed) ]
) AS alias;