Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql heritage

CREATE TABLE villes (
    nom             text,
    population      float,
    altitude        int     -- (en pied)
);

CREATE TABLE capitales (
    etat           char(2)
) INHERITS (villes);
Source by docs.postgresql.fr #
 
PREVIOUS NEXT
Tagged: #postgresql #heritage
ADD COMMENT
Topic
Name
6+4 =