Create table
CREATE TABLE table_name
(col_name TYPE col_constraint, table_constraint)
INHERITS existing_table_name
This will create a table with whatever columns and constraints + table constraint and will inherit all the columns from existing_table_name
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.