This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE SEQUENCE country_seq; | |
CREATE TABLE IF NOT EXISTS paises ( | |
id int NOT NULL DEFAULT NEXTVAL ('country_seq'), | |
iso char(2) NOT NULL, | |
nome varchar(80) NOT NULL, | |
nome_amigavel varchar(80) NOT NULL, | |
capital varchar(80) NOT NULL, | |
iso3 char(3) DEFAULT NULL, | |
codigo_numerico smallint DEFAULT NULL, |