2015-12-23 23:33:34 +08:00
SET
CREATE TABLE
INSERT 0 1114
CREATE TABLE
INSERT 0 1114
2016-01-29 23:19:35 +08:00
CREATE TABLE
INSERT 0 5
2016-03-21 19:58:00 +08:00
SELECT 1114
2015-12-23 23:33:34 +08:00
2016-04-05 01:21:10 +08:00
{_vovw_3_base_bare_t,_vovw_2_base_bare_t,_vovw_1_base_bare_t,_vovw_0_base_bare_t}
113
2015-12-23 23:33:34 +08:00
number,int_number,name,start
2016-01-27 23:54:30 +08:00
AVG(number)::double precision AS number,AVG(int_number)::integer AS int_number,CASE count(*) WHEN 1 THEN MIN(name) ELSE NULL END::text AS name,CASE count(*) WHEN 1 THEN MIN(start) ELSE NULL END::date AS start
AVG(tab.number)::double precision AS number,AVG(tab.int_number)::integer AS int_number,CASE count(*) WHEN 1 THEN MIN(tab.name) ELSE NULL END::text AS name,CASE count(*) WHEN 1 THEN MIN(tab.start) ELSE NULL END::date AS start
2016-04-05 01:21:10 +08:00
{_vovw_3_base_t,_vovw_2_base_t,_vovw_1_base_t,_vovw_0_base_t}
113
2016-01-29 23:19:35 +08:00
2016-04-05 01:21:10 +08:00
{_vovw_3_column_types_t,_vovw_2_column_types_t,_vovw_1_column_types_t,_vovw_0_column_types_t}
2016-01-26 20:20:28 +08:00
(base_t,0,_vovw_0_base_t)
(base_t,1,_vovw_1_base_t)
(base_t,2,_vovw_2_base_t)
(base_t,3,_vovw_3_base_t)
(base_bare_t,0,_vovw_0_base_bare_t)
(base_bare_t,1,_vovw_1_base_bare_t)
(base_bare_t,2,_vovw_2_base_bare_t)
(base_bare_t,3,_vovw_3_base_bare_t)
(base_t,0,_vovw_0_base_t)
(base_t,1,_vovw_1_base_t)
(base_t,2,_vovw_2_base_t)
(base_t,3,_vovw_3_base_t)
2016-03-21 19:58:00 +08:00
(column_types_t,0,_vovw_0_column_types_t)
(column_types_t,1,_vovw_1_column_types_t)
(column_types_t,2,_vovw_2_column_types_t)
(column_types_t,3,_vovw_3_column_types_t)
2016-01-12 22:36:07 +08:00
2016-04-05 01:21:10 +08:00
ERROR: relation "_vovw_2_base_t" does not exist
LINE 1: SELECT count(*) FROM _vovw_2_base_t;
2016-01-12 22:36:07 +08:00
^
2016-04-05 01:21:10 +08:00
{_vovw_5_base_t,_vovw_4_base_t,_vovw_3_base_t,_vovw_2_base_t,_vovw_1_base_t,_vovw_0_base_t}
38
2015-12-23 23:33:34 +08:00
DROP TABLE
DROP TABLE
2016-01-29 23:19:35 +08:00
DROP TABLE
2016-03-21 19:58:00 +08:00
DROP TABLE