mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
9 lines
354 B
SQL
9 lines
354 B
SQL
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);
|
|
|