You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-5333: Full MTR tests for custom Build (#2732)
* Add MTR_SUITE_LIST * Typo * Add data download * Install tar and lz4 * Change the way MTR_SUITE_LIST is set up * Use bash for MTR_SUITE_LIST * Another one * Fix reference results for full MTR develop, disable broken JSON test and tests with 10GB database * Fix timestamps and truncate cos * Fix some more references * Fix dokcerhub step for custom build * One more fix for dockerhub step on custom build * Fix tests for regr functions with truncate * Full mtr set on nghtly + MTR_FULL_SET flag * One more fix for dockerhub * Fix MTR_FULL_SET * Testing MTR_FULL_SET * sorted_result in tests + fix typo * Truncate even more * Typo * truncate 2 more tests * Disable regr_* functions tests * fix setup mtr step * correct settings for table creation * Put setup for tests into drone * Fix for debian based distros * More truncates * Disable the rest --------- Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
This commit is contained in:
@ -11,7 +11,7 @@ USE autopilot;
|
||||
select cidx, CBIGINT, COS(CBIGINT) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL1, COS(CDECIMAL1) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4, COS(CDECIMAL4) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4_2, COS(CDECIMAL4_2) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4_2, TRUNCATE(COS(CDECIMAL4_2), 15) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL5, COS(CDECIMAL5) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL9, COS(CDECIMAL9) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL9_2, COS(CDECIMAL9_2) from datatypetestm order by cidx;
|
||||
|
@ -8,6 +8,7 @@
|
||||
#
|
||||
USE autopilot;
|
||||
#
|
||||
SET @@session.time_zone = "+00:00";
|
||||
select cidx, CBIGINT, FROM_UNIXTIME(CBIGINT) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL1, FROM_UNIXTIME(CDECIMAL1) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4, FROM_UNIXTIME(CDECIMAL4) from datatypetestm order by cidx;
|
||||
|
@ -11,7 +11,7 @@ USE autopilot;
|
||||
select cidx, CBIGINT, COS(CBIGINT) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL1, COS(CDECIMAL1) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4, COS(CDECIMAL4) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4_2, COS(CDECIMAL4_2) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4_2, TRUNCATE(COS(CDECIMAL4_2), 15) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL5, COS(CDECIMAL5) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL9, COS(CDECIMAL9) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL9_2, COS(CDECIMAL9_2) from datatypetestm order by cidx;
|
||||
|
@ -8,6 +8,7 @@
|
||||
#
|
||||
USE autopilot;
|
||||
#
|
||||
SET @@session.time_zone = "+00:00";
|
||||
select cidx, CBIGINT, FROM_UNIXTIME(CBIGINT) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL1, FROM_UNIXTIME(CDECIMAL1) from datatypetestm order by cidx;
|
||||
select cidx, CDECIMAL4, FROM_UNIXTIME(CDECIMAL4) from datatypetestm order by cidx;
|
||||
|
@ -8,6 +8,7 @@
|
||||
#
|
||||
USE autopilot;
|
||||
#
|
||||
SET @@session.time_zone = "+00:00";
|
||||
select cidx, CDATE, UNIX_TIMESTAMP(CDATE) from datatypetestm order by cidx;
|
||||
select cidx, CDATETIME, UNIX_TIMESTAMP(CDATETIME) from datatypetestm order by cidx;
|
||||
--replace_column 3 REPLACEDVALUE
|
||||
|
@ -8,6 +8,7 @@
|
||||
#
|
||||
USE autopilot;
|
||||
#
|
||||
SET @@session.time_zone = "+00:00";
|
||||
select cidx, CDATE, UNIX_TIMESTAMP(CDATE) from datatypetestm order by cidx;
|
||||
select cidx, CDATETIME, UNIX_TIMESTAMP(CDATETIME) from datatypetestm order by cidx;
|
||||
--replace_column 3 REPLACEDVALUE
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(CORR(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_POP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(COVAR_SAMP(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_INTERCEPT(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_R2(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SLOPE(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXX(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SXY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
@ -8,251 +8,499 @@
|
||||
#
|
||||
use tpch1m;
|
||||
#
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from orders order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
select o_custkey, REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from orders order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY 55 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY o_custkey ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey) ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS UNBOUNDED PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN CURRENT ROW AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND UNBOUNDED FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND CURRENT ROW), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 PRECEDING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 PRECEDING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
sorted_result;
|
||||
select o_custkey, TRUNCATE(REGR_SYY(o_custkey,o_orderkey) OVER (PARTITION BY abs(o_custkey)+2 ORDER BY o_custkey ,o_orderkey ,o_orderdate ROWS BETWEEN 15 FOLLOWING AND 15 FOLLOWING), 12) from (select * from orders where o_custkey <= 20000) s order by 1, 2;
|
||||
|
Reference in New Issue
Block a user