mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
29 lines
1.9 KiB
SQL
29 lines
1.9 KiB
SQL
SELECT varSamp(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 0);
|
|
SELECT varSamp(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 1);
|
|
SELECT round(varSamp(ResolutionWidth), 6) FROM test.hits;
|
|
|
|
SELECT stddevSamp(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 0);
|
|
SELECT stddevSamp(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 1);
|
|
SELECT round(stddevSamp(ResolutionWidth), 6) FROM test.hits;
|
|
|
|
SELECT varPop(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 0);
|
|
SELECT varPop(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 1);
|
|
SELECT round(varPop(ResolutionWidth), 6) FROM test.hits;
|
|
|
|
SELECT stddevPop(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 0);
|
|
SELECT stddevPop(ResolutionWidth) FROM (SELECT ResolutionWidth FROM test.hits LIMIT 1);
|
|
SELECT round(stddevPop(ResolutionWidth), 6) FROM test.hits;
|
|
|
|
SELECT covarSamp(ResolutionWidth, ResolutionHeight) FROM (SELECT ResolutionWidth, ResolutionHeight FROM test.hits LIMIT 0);
|
|
SELECT covarSamp(ResolutionWidth, ResolutionHeight) FROM (SELECT ResolutionWidth, ResolutionHeight FROM test.hits LIMIT 1);
|
|
SELECT round(covarSamp(ResolutionWidth, ResolutionHeight), 6) FROM test.hits;
|
|
|
|
SELECT covarPop(ResolutionWidth, ResolutionHeight) FROM (SELECT ResolutionWidth, ResolutionHeight FROM test.hits LIMIT 0);
|
|
SELECT covarPop(ResolutionWidth, ResolutionHeight) FROM (SELECT ResolutionWidth, ResolutionHeight FROM test.hits LIMIT 1);
|
|
SELECT round(covarPop(ResolutionWidth, ResolutionHeight), 6) FROM test.hits;
|
|
|
|
SELECT corr(ResolutionWidth, ResolutionHeight) FROM (SELECT ResolutionWidth, ResolutionHeight FROM test.hits LIMIT 0);
|
|
SELECT corr(ResolutionWidth, ResolutionHeight) FROM (SELECT ResolutionWidth, ResolutionHeight FROM test.hits LIMIT 1);
|
|
SELECT round(corr(ResolutionWidth, ResolutionHeight), 6) FROM test.hits;
|
|
|