TD_ZTest ( ON { table | view | (query) } USING { FirstSampleColumn('FirstSampleColumn') [ SecondSampleColumn('SecondSampleColumn') ] | SampleNameColumn('sample_name_column') SampleValueColumn('sample_value_column') FirstSampleName('sample_name_1') [ SecondSampleName('sample_name_2') ] } [ FirstSampleVariance(FirstSampleVariance) ] [ SecondSampleVariance(SecondSampleVariance) ] [ AlternativeHypothesis({'upper-tailed'|'lower-tailed'|'two-tailed'}) ] [ MeanUnderH0(MeanUnderH0) ] [ Alpha(alpha) ] )
You can call this function from:
- The FROM clause of a SELECT statement
- As part of a CREATE TABLE statement
- As part of a CREATE VIEW statement