Answers for "inheritance and postgresql"

SQL
0

postgresql inheritance

CREATE TABLE cities (
  name       text,
  population real,
  elevation  int     -- (in ft)
);

CREATE TABLE capitals (
  state      char(2) UNIQUE NOT NULL
) INHERITS (cities);
Posted by: Guest on September-01-2021

Code answers related to "inheritance and postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language