SQL/MX 2.x Reference Manual (H06.04+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual540440-003
9-131
Examples of RUNNINGMIN
Return the minimum of values of I1 up to and including the current row:
SELECT RUNNINGMIN (I1) AS MIN_I1
FROM mining.seqfcn
SEQUENCE BY TS;
MIN_I1
------------
6215
6215
6215
4597
4597
--- 5 row(s) selected.