Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
12
Task/Statistics-Basic/DuckDB/statistics-basic.duckdb
Normal file
12
Task/Statistics-Basic/DuckDB/statistics-basic.duckdb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
create or replace function basics(n) as table (
|
||||
select n, avg(x), stddev_pop(x), stddev_samp(x)
|
||||
from (select random() as x from range(0,n))
|
||||
);
|
||||
|
||||
from basics(100)
|
||||
union all from basics(1000)
|
||||
union all from basics(10000)
|
||||
union all from basics(1000000000);
|
||||
|
||||
with cte as (select random() as x from range(0,100))
|
||||
from histogram(cte, x) ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue