Skip to content

Instantly share code, notes, and snippets.

View ek1mb4's full-sized avatar
💭
Coding

Abel Chipepe ek1mb4

💭
Coding
View GitHub Profile
@ek1mb4
ek1mb4 / countries.sql
Last active December 31, 2023 12:04 — forked from ereli/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes. PostgreSQL compatible
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,