Skip to content

Instantly share code, notes, and snippets.

Carl P. mizterp

Block or report user

Report or block mizterp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mizterp
mizterp / mysql_iso_country.sql
Last active Jul 15, 2019
MySQL Country table (data source: iso.org)
View mysql_iso_country.sql
CREATE TABLE IF NOT EXISTS `country` (
`iso2` char(2) NOT NULL,
`name` varchar(45) NOT NULL,
`iso3` char(3) NOT NULL,
`numeric` smallint(3) UNSIGNED NOT NULL,
PRIMARY KEY (`iso2`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `country` (`iso2`, `name`, `iso3`, `numeric`) VALUES
('AF', 'Afghanistan', 'AFG', 4),
You can’t perform that action at this time.