Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -0,0 +1 @@
|
|||
select distinct(*) from unnest( [3,9,1,10,3,7,6,5,2,7,4,7,4,2,2,2,2,8,2,10,4,9,2,4,9,3,4,3,4,7] );
|
||||
|
|
@ -0,0 +1 @@
|
|||
select array_agg(unnest) as distinct from (select distinct(*) from unnest( [3,9,1,10,3,7,6,5,2,7,4,7,4,2,2,2,2,8,2,10,4,9,2,4,9,3,4,3,4,7] ));
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
CREATE OR REPLACE MACRO firsts(l) as (
|
||||
WITH
|
||||
t as (SELECT unnest(l) as x, generate_subscripts(l, 1) as index),
|
||||
s as (SELECT x, min(index) as index FROM t GROUP BY x)
|
||||
SELECT list(x ORDER BY index)
|
||||
FROM s ) ;
|
||||
|
|
@ -0,0 +1 @@
|
|||
select firsts( [3,9,1,10,3,7,6,5,2,7,4,7,4,2,2,2,2,8,2,10,4,9,2,4,9,3,4,3,4,7]) as firsts;
|
||||
Loading…
Add table
Add a link
Reference in a new issue