TD_ChiSq ( ON { table | view | (query) } AS CONTINGENCY [ OUT [ PERMANENT | VOLATILE ] TABLE EXPCOUNTS (expected_values_table) ] USING [ 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