mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
9 lines
354 B
MySQL
9 lines
354 B
MySQL
|
select runningDifference(x) from (select arrayJoin([0, 1, 5, 10]) as x);
|
||
|
select '-';
|
||
|
select runningDifference(x) from (select arrayJoin([2, Null, 3, Null, 10]) as x);
|
||
|
select '-';
|
||
|
select runningDifference(x) from (select arrayJoin([Null, 1]) as x);
|
||
|
select '-';
|
||
|
select runningDifference(x) from (select arrayJoin([Null, Null, 1, 3, Null, Null, 5]) as x);
|
||
|
|