Advertisement
Vince0789

ISO 3166-1 alpha-2

Feb 17th, 2015
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 6.07 KB | None | 0 0
  1. CREATE TABLE list_countries (
  2.   country_code CHAR(2) NOT NULL,
  3.   country_name VARCHAR(45) NOT NULL,
  4.   PRIMARY KEY (country_code)
  5. );
  6.  
  7. INSERT INTO list_countries (country_code, country_name) VALUES
  8. ('A1', 'Anonymous Proxy'),
  9. ('A2', 'Satellite Provider'),
  10. ('AD', 'Andorra'),
  11. ('AE', 'United Arab Emirates'),
  12. ('AF', 'Afghanistan'),
  13. ('AG', 'Antigua and Barbuda'),
  14. ('AI', 'Anguilla'),
  15. ('AL', 'Albania'),
  16. ('AM', 'Armenia'),
  17. ('AO', 'Angola'),
  18. ('AP', 'Asia/Pacific Region'),
  19. ('AQ', 'Antarctica'),
  20. ('AR', 'Argentina'),
  21. ('AS', 'American Samoa'),
  22. ('AT', 'Austria'),
  23. ('AU', 'Australia'),
  24. ('AW', 'Aruba'),
  25. ('AX', 'Aland Islands'),
  26. ('AZ', 'Azerbaijan'),
  27. ('BA', 'Bosnia and Herzegovina'),
  28. ('BB', 'Barbados'),
  29. ('BD', 'Bangladesh'),
  30. ('BE', 'Belgium'),
  31. ('BF', 'Burkina Faso'),
  32. ('BG', 'Bulgaria'),
  33. ('BH', 'Bahrain'),
  34. ('BI', 'Burundi'),
  35. ('BJ', 'Benin'),
  36. ('BL', 'Saint Barthelemy'),
  37. ('BM', 'Bermuda'),
  38. ('BN', 'Brunei Darussalam'),
  39. ('BO', 'Bolivia'),
  40. ('BQ', 'Bonaire, Saint Eustatius and Saba'),
  41. ('BR', 'Brazil'),
  42. ('BS', 'Bahamas'),
  43. ('BT', 'Bhutan'),
  44. ('BW', 'Botswana'),
  45. ('BY', 'Belarus'),
  46. ('BZ', 'Belize'),
  47. ('CA', 'Canada'),
  48. ('CC', 'Cocos (Keeling) Islands'),
  49. ('CD', 'Congo, The Democratic Republic of the'),
  50. ('CF', 'Central African Republic'),
  51. ('CG', 'Congo'),
  52. ('CH', 'Switzerland'),
  53. ('CI', 'Cote D\'Ivoire'),
  54. ('CK', 'Cook Islands'),
  55. ('CL', 'Chile'),
  56. ('CM', 'Cameroon'),
  57. ('CN', 'China'),
  58. ('CO', 'Colombia'),
  59. ('CR', 'Costa Rica'),
  60. ('CU', 'Cuba'),
  61. ('CV', 'Cape Verde'),
  62. ('CW', 'Curacao'),
  63. ('CX', 'Christmas Island'),
  64. ('CY', 'Cyprus'),
  65. ('CZ', 'Czech Republic'),
  66. ('DE', 'Germany'),
  67. ('DJ', 'Djibouti'),
  68. ('DK', 'Denmark'),
  69. ('DM', 'Dominica'),
  70. ('DO', 'Dominican Republic'),
  71. ('DZ', 'Algeria'),
  72. ('EC', 'Ecuador'),
  73. ('EE', 'Estonia'),
  74. ('EG', 'Egypt'),
  75. ('EH', 'Western Sahara'),
  76. ('ER', 'Eritrea'),
  77. ('ES', 'Spain'),
  78. ('ET', 'Ethiopia'),
  79. ('EU', 'Europe'),
  80. ('FI', 'Finland'),
  81. ('FJ', 'Fiji'),
  82. ('FK', 'Falkland Islands (Malvinas)'),
  83. ('FM', 'Micronesia, Federated States of'),
  84. ('FO', 'Faroe Islands'),
  85. ('FR', 'France'),
  86. ('GA', 'Gabon'),
  87. ('GB', 'United Kingdom'),
  88. ('GD', 'Grenada'),
  89. ('GE', 'Georgia'),
  90. ('GF', 'French Guiana'),
  91. ('GG', 'Guernsey'),
  92. ('GH', 'Ghana'),
  93. ('GI', 'Gibraltar'),
  94. ('GL', 'Greenland'),
  95. ('GM', 'Gambia'),
  96. ('GN', 'Guinea'),
  97. ('GP', 'Guadeloupe'),
  98. ('GQ', 'Equatorial Guinea'),
  99. ('GR', 'Greece'),
  100. ('GS', 'South Georgia and the South Sandwich Islands'),
  101. ('GT', 'Guatemala'),
  102. ('GU', 'Guam'),
  103. ('GW', 'Guinea-Bissau'),
  104. ('GY', 'Guyana'),
  105. ('HK', 'Hong Kong'),
  106. ('HM', 'Heard Island and McDonald Islands'),
  107. ('HN', 'Honduras'),
  108. ('HR', 'Croatia'),
  109. ('HT', 'Haiti'),
  110. ('HU', 'Hungary'),
  111. ('ID', 'Indonesia'),
  112. ('IE', 'Ireland'),
  113. ('IL', 'Israel'),
  114. ('IM', 'Isle of Man'),
  115. ('IN', 'India'),
  116. ('IO', 'British Indian Ocean Territory'),
  117. ('IQ', 'Iraq'),
  118. ('IR', 'Iran, Islamic Republic of'),
  119. ('IS', 'Iceland'),
  120. ('IT', 'Italy'),
  121. ('JE', 'Jersey'),
  122. ('JM', 'Jamaica'),
  123. ('JO', 'Jordan'),
  124. ('JP', 'Japan'),
  125. ('KE', 'Kenya'),
  126. ('KG', 'Kyrgyzstan'),
  127. ('KH', 'Cambodia'),
  128. ('KI', 'Kiribati'),
  129. ('KM', 'Comoros'),
  130. ('KN', 'Saint Kitts and Nevis'),
  131. ('KP', 'Korea, Democratic People\'s Republic of'),
  132. ('KR', 'Korea, Republic of'),
  133. ('KW', 'Kuwait'),
  134. ('KY', 'Cayman Islands'),
  135. ('KZ', 'Kazakhstan'),
  136. ('LA', 'Lao People\'s Democratic Republic'),
  137. ('LB', 'Lebanon'),
  138. ('LC', 'Saint Lucia'),
  139. ('LI', 'Liechtenstein'),
  140. ('LK', 'Sri Lanka'),
  141. ('LR', 'Liberia'),
  142. ('LS', 'Lesotho'),
  143. ('LT', 'Lithuania'),
  144. ('LU', 'Luxembourg'),
  145. ('LV', 'Latvia'),
  146. ('LY', 'Libya'),
  147. ('MA', 'Morocco'),
  148. ('MC', 'Monaco'),
  149. ('MD', 'Moldova, Republic of'),
  150. ('ME', 'Montenegro'),
  151. ('MF', 'Saint Martin'),
  152. ('MG', 'Madagascar'),
  153. ('MH', 'Marshall Islands'),
  154. ('MK', 'Macedonia'),
  155. ('ML', 'Mali'),
  156. ('MM', 'Myanmar'),
  157. ('MN', 'Mongolia'),
  158. ('MO', 'Macau'),
  159. ('MP', 'Northern Mariana Islands'),
  160. ('MQ', 'Martinique'),
  161. ('MR', 'Mauritania'),
  162. ('MS', 'Montserrat'),
  163. ('MT', 'Malta'),
  164. ('MU', 'Mauritius'),
  165. ('MV', 'Maldives'),
  166. ('MW', 'Malawi'),
  167. ('MX', 'Mexico'),
  168. ('MY', 'Malaysia'),
  169. ('MZ', 'Mozambique'),
  170. ('NA', 'Namibia'),
  171. ('NC', 'New Caledonia'),
  172. ('NE', 'Niger'),
  173. ('NF', 'Norfolk Island'),
  174. ('NG', 'Nigeria'),
  175. ('NI', 'Nicaragua'),
  176. ('NL', 'Netherlands'),
  177. ('NO', 'Norway'),
  178. ('NP', 'Nepal'),
  179. ('NR', 'Nauru'),
  180. ('NU', 'Niue'),
  181. ('NZ', 'New Zealand'),
  182. ('OM', 'Oman'),
  183. ('PA', 'Panama'),
  184. ('PE', 'Peru'),
  185. ('PF', 'French Polynesia'),
  186. ('PG', 'Papua New Guinea'),
  187. ('PH', 'Philippines'),
  188. ('PK', 'Pakistan'),
  189. ('PL', 'Poland'),
  190. ('PM', 'Saint Pierre and Miquelon'),
  191. ('PN', 'Pitcairn Islands'),
  192. ('PR', 'Puerto Rico'),
  193. ('PS', 'Palestinian Territory'),
  194. ('PT', 'Portugal'),
  195. ('PW', 'Palau'),
  196. ('PY', 'Paraguay'),
  197. ('QA', 'Qatar'),
  198. ('RE', 'Reunion'),
  199. ('RO', 'Romania'),
  200. ('RS', 'Serbia'),
  201. ('RU', 'Russian Federation'),
  202. ('RW', 'Rwanda'),
  203. ('SA', 'Saudi Arabia'),
  204. ('SB', 'Solomon Islands'),
  205. ('SC', 'Seychelles'),
  206. ('SD', 'Sudan'),
  207. ('SE', 'Sweden'),
  208. ('SG', 'Singapore'),
  209. ('SH', 'Saint Helena'),
  210. ('SI', 'Slovenia'),
  211. ('SJ', 'Svalbard and Jan Mayen'),
  212. ('SK', 'Slovakia'),
  213. ('SL', 'Sierra Leone'),
  214. ('SM', 'San Marino'),
  215. ('SN', 'Senegal'),
  216. ('SO', 'Somalia'),
  217. ('SR', 'Suriname'),
  218. ('SS', 'South Sudan'),
  219. ('ST', 'Sao Tome and Principe'),
  220. ('SV', 'El Salvador'),
  221. ('SX', 'Sint Maarten (Dutch part)'),
  222. ('SY', 'Syrian Arab Republic'),
  223. ('SZ', 'Swaziland'),
  224. ('TC', 'Turks and Caicos Islands'),
  225. ('TD', 'Chad'),
  226. ('TF', 'French Southern Territories'),
  227. ('TG', 'Togo'),
  228. ('TH', 'Thailand'),
  229. ('TJ', 'Tajikistan'),
  230. ('TK', 'Tokelau'),
  231. ('TL', 'Timor-Leste'),
  232. ('TM', 'Turkmenistan'),
  233. ('TN', 'Tunisia'),
  234. ('TO', 'Tonga'),
  235. ('TR', 'Turkey'),
  236. ('TT', 'Trinidad and Tobago'),
  237. ('TV', 'Tuvalu'),
  238. ('TW', 'Taiwan'),
  239. ('TZ', 'Tanzania, United Republic of'),
  240. ('UA', 'Ukraine'),
  241. ('UG', 'Uganda'),
  242. ('UM', 'United States Minor Outlying Islands'),
  243. ('US', 'United States'),
  244. ('UY', 'Uruguay'),
  245. ('UZ', 'Uzbekistan'),
  246. ('VA', 'Holy See (Vatican City State)'),
  247. ('VC', 'Saint Vincent and the Grenadines'),
  248. ('VE', 'Venezuela'),
  249. ('VG', 'Virgin Islands, British'),
  250. ('VI', 'Virgin Islands, U.S.'),
  251. ('VN', 'Vietnam'),
  252. ('VU', 'Vanuatu'),
  253. ('WF', 'Wallis and Futuna'),
  254. ('WS', 'Samoa'),
  255. ('YE', 'Yemen'),
  256. ('YT', 'Mayotte'),
  257. ('ZA', 'South Africa'),
  258. ('ZM', 'Zambia'),
  259. ('ZW', 'Zimbabwe');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement