Version 1.2
SELECT * FROM VARMAX ( ON input_table [AS data] PARTITION BY { 1 | partition_column [,...] } ORDER BY time_stamp_column [,...] { ON orders_table AS orders PARTITION BY { 1 | partition_column [,...] } | Orders ('p, d, q') } ResponseColumns ('response_column' [,...]) [ ExogenousColumns ('exogenous_column' [,...]) ] [ PartitionColumns ('partition_column' [,...]) ] [ SeasonalOrders ('sp, sd, sq') Period ('period') ] [ ExogenousOrder ('b') ] [ Lag ('lag') ] [ IncludeMean ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ] [ IncludeDrift ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})] [ MaxIterNum ('max_iteration_number') ] [ StepAhead ('predict_steps') ] [ Method ({ 'SSE' | 'ML' }) ] );