SELECT * FROM SAX2 (
ON sax_example AS INPUT
PARTITION BY id
ORDER BY id
ValueColumns ('expenditure', 'income', 'investment')
TimeColumn ('period')
WindowType ('global')
PrintCode_Stats ('true')
Accumulate ('id')
) ORDER BY id;
SELECT * FROM SAX2 (
ON sax_example AS INPUT
PARTITION BY id
ORDER BY id
ValueColumns ('expenditure', 'income', 'investment')
TimeColumn ('period')
WindowType ('global')
PrintCode_Stats ('true')
Accumulate ('id')
) ORDER BY id;