Version 1.0
SELECT * FROM SAX2 ( ON { table | view | (query) } AS input PARTITION BY key ORDER BY order_columns ON { table | view | (query) } AS meanstats PARTITION BY key ON { table | view | (query) } AS stdevstats PARTITION BY key ValueColumns ({ 'value_column' | 'value_column_range' }[,...]) [ TimeColumn ('time_column') ] [ WindowType ( { 'global' | 'sliding' } ) ] [ Output ( { 'string' | 'bytes' | 'bitmap' | 'characters' } ) ] [ WindowSize ('window_size') ] [ OutputFrequency ('output_frequency') ] [ PointsPerSymbol ('points_per_symbol' [,...]) ] [ SymbolsPerWindow ('symbols_per_window' [,...]) ] [ AlphabetSize ('alphabet_size' [,...]) ] [ BitmapLevel ('bitmap_level' [,...]) ] [ PrintCodeStats ({ 'true'|'yes'|'t'|'y'|'1'|'false'|'no'|'f'|'n'|'0' }) ] [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ] );