mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +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);
|
|
|