Created
May 13, 2021 08:30
-
-
Save cod3cow/960c84b41d11f15327595d3cec0e5ad3 to your computer and use it in GitHub Desktop.
SQL insert of continents incl. short codes
This file contains 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 TABLE `common_continents` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`code` char(2) NOT NULL DEFAULT '', | |
`name` varchar(30) NOT NULL DEFAULT '', | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
insert into common_continents (code,name) values ('AF','Africa'); | |
insert into common_continents (code,name) values ('AN','Antarctica'); | |
insert into common_continents (code,name) values ('AS','Asien'); | |
insert into common_continents (code,name) values ('EU','Europe'); | |
insert into common_continents (code,name) values ('NA','North America'); | |
insert into common_continents (code,name) values ('OC','Oceania'); | |
insert into common_continents (code,name) values ('SA','South America'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment