CREATE TABLE table_name (
column_name TYPE column_constraint,
table_constraint table_constraint
) INHERITS existing_table_name;
CREATE TABLE holiday_calender (
hcl_id bigserial NOT NULL,
hcl_country integer,
hcl_company integer,
hcl_date timestamp NULL,
hcl_description varchar(500) NULL,
hcl_active int4 NOT NULL,
CONSTRAINT holiday_calender_pkey PRIMARY KEY (hcl_id)
);
virtual_pets=# CREATE TABLE communities (id SERIAL PRIMARY KEY, name varchar, description varchar);
CREATE TABLE