PostgreSQL Créer une table comme sélectionné
CREATE TABLE films_recent AS
SELECT * FROM films WHERE date_prod >= '2002-01-01';
Disturbed Dormouse
CREATE TABLE films_recent AS
SELECT * FROM films WHERE date_prod >= '2002-01-01';
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)
);