📅  最后修改于: 2022-03-11 15:05:15.979000             🧑  作者: Mango
CREATE TABLE cities (
name text,
population real,
elevation int -- (in ft)
);
CREATE TABLE capitals (
state char(2) UNIQUE NOT NULL
) INHERITS (cities);