select count(*) from AGGREGATION_TEST_TABLE
| select count(1) from AGGREGATION_TEST_TABLE group by HOST
|
select MIN(CORE) from AGGREGATION_TEST_TABLE group by DOMAIN
|
select core, count(1) from AGGREGATION_TEST_TABLE group by CORE
|
select core, host, sum(ACTIVE_VISITOR) from AGGREGATION_TEST_TABLE group by core, host
|
select AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from AGGREGATION_TEST_TABLE where host='CS' and DOMAIN<>'Google.com'
|
select round(date, 'day',50), sum(core)+2 from AGGREGATION_TEST_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host
|
select trunc(date, 'hour', 1000), count(DB), count(ACTIVE_VISITOR) from AGGREGATION_TEST_TABLE where feature='Login' and (core<50 or db<20 or active_visitor > 200) group by trunc(date, 'hour', 1000)
|
select count(active_visitor) count from AGGREGATION_TEST_TABLE
|
select count(distinct active_visitor) count from AGGREGATION_TEST_TABLE
|
select percentile_cont(0.9) within group (order by active_visitor asc) from AGGREGATION_TEST_TABLE
|
select percentile_cont(0.1) within group (order by active_visitor desc) from AGGREGATION_TEST_TABLE
|
select count(core), count(db), count(active_visitor) from AGGREGATION_TEST_TABLE
|
select count(distinct core), count(distinct db), count(distinct active_visitor) from AGGREGATION_TEST_TABLE
|
select percentile_cont(0.5) within group (order by core asc), percentile_cont(0.5) within group (order by db asc), percentile_cont(0.5) within group (order by active_visitor asc) from AGGREGATION_TEST_TABLE
|
select core, count(db) count from AGGREGATION_TEST_TABLE group by CORE
|
select core, count(distinct db) count from AGGREGATION_TEST_TABLE group by CORE
|
select core, percentile_cont(0.9999) within group (order by db asc) from AGGREGATION_TEST_TABLE group by CORE
|
LOAD DATA [10000000 ROWS]
|