PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Fri Aug 17, 2018 2:41 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Tue Jan 13, 2004 11:57 pm 
Offline
Forum Regular

Joined: Wed Sep 24, 2003 2:15 pm
Posts: 543
Location: Vancouver, BC
Most user registration systems will ask the user to select the country they're from.

I've recently had to code a simple registration for a client and in doing so, realized how handy having all the countries in a table would be. For example, I'd be able to output the select options for the country list in a PHP loop, rather than statically listing the countries in the HTML file.

Anyway, I ended up creating a countries table containing all of the countries. You can create one for yourself by copying the code listed below and running it within phpMyAdmin or MySQL Control Center or from PHP, etc.

phpMyAdmin has the handy, dandy ability to upload a text file containing commands to execute, so I've also created a text file that you can save to your harddrive to use.

SQL File: http://www.webwerks.ca/codesnippets/countries.sql.txt

Syntax: [ Download ] [ Hide ]
create table countries (
        country varchar(100) not null primary key
);

insert into countries (country) values ('Albania');
insert into countries (country) values ('Algeria');
insert into countries (country) values ('Andorra');
insert into countries (country) values ('Angola');
insert into countries (country) values ('Anguilla');
insert into countries (country) values ('Antarctica');
insert into countries (country) values ('Antigua');
insert into countries (country) values ('Antilles');
insert into countries (country) values ('Argentina');
insert into countries (country) values ('Armenia');
insert into countries (country) values ('Aruba');
insert into countries (country) values ('Australia');
insert into countries (country) values ('Austria');
insert into countries (country) values ('Azerbaijan');
insert into countries (country) values ('Bahamas');
insert into countries (country) values ('Bangladesh');
insert into countries (country) values ('Barbados');
insert into countries (country) values ('Belarus');
insert into countries (country) values ('Belgium');
insert into countries (country) values ('Belize');
insert into countries (country) values ('Benin');
insert into countries (country) values ('Bermuda');
insert into countries (country) values ('Bhutan');
insert into countries (country) values ('Bolivia');
insert into countries (country) values ('Bosnia');
insert into countries (country) values ('Botswana');
insert into countries (country) values ('Brazil');
insert into countries (country) values ('Brunei');
insert into countries (country) values ('Bulgaria');
insert into countries (country) values ('Burkina Faso');
insert into countries (country) values ('Burundi');
insert into countries (country) values ('Cambodia');
insert into countries (country) values ('Cameroon');
insert into countries (country) values ('Canada');
insert into countries (country) values ('Cape Verde');
insert into countries (country) values ('Cayman Islands');
insert into countries (country) values ('Central Africa');
insert into countries (country) values ('Chad');
insert into countries (country) values ('Chile');
insert into countries (country) values ('China');
insert into countries (country) values ('Colombia');
insert into countries (country) values ('Comoros');
insert into countries (country) values ('Congo');
insert into countries (country) values ('Cook Islands');
insert into countries (country) values ('Costa Rica');
insert into countries (country) values ('Cote D''Ivoire');
insert into countries (country) values ('Croatia');
insert into countries (country) values ('Cuba');
insert into countries (country) values ('Cyprus');
insert into countries (country) values ('Czech Republic');
insert into countries (country) values ('Denmark');
insert into countries (country) values ('Djibouti');
insert into countries (country) values ('Dominica');
insert into countries (country) values ('Dominican Rep.');
insert into countries (country) values ('Ecuador');
insert into countries (country) values ('Egypt');
insert into countries (country) values ('El Salvador');
insert into countries (country) values ('Eritrea');
insert into countries (country) values ('Estonia');
insert into countries (country) values ('Ethiopia');
insert into countries (country) values ('Fiji');
insert into countries (country) values ('Finland');
insert into countries (country) values ('Falkland Islands');
insert into countries (country) values ('France');
insert into countries (country) values ('Gabon');
insert into countries (country) values ('Gambia');
insert into countries (country) values ('Georgia');
insert into countries (country) values ('Germany');
insert into countries (country) values ('Ghana');
insert into countries (country) values ('Gibraltar');
insert into countries (country) values ('Greece');
insert into countries (country) values ('Greenland');
insert into countries (country) values ('Grenada');
insert into countries (country) values ('Guam');
insert into countries (country) values ('Guatemala');
insert into countries (country) values ('Guiana');
insert into countries (country) values ('Guinea');
insert into countries (country) values ('Guyana');
insert into countries (country) values ('Haiti');
insert into countries (country) values ('Hondoras');
insert into countries (country) values ('Hong Kong');
insert into countries (country) values ('Hungary');
insert into countries (country) values ('Iceland');
insert into countries (country) values ('India');
insert into countries (country) values ('Indonesia');
insert into countries (country) values ('Iran');
insert into countries (country) values ('Iraq');
insert into countries (country) values ('Ireland');
insert into countries (country) values ('Israel');
insert into countries (country) values ('Italy');
insert into countries (country) values ('Jamaica');
insert into countries (country) values ('Japan');
insert into countries (country) values ('Jordan');
insert into countries (country) values ('Kazakhstan');
insert into countries (country) values ('Kenya');
insert into countries (country) values ('Kiribati');
insert into countries (country) values ('Korea');
insert into countries (country) values ('Kyrgyzstan');
insert into countries (country) values ('Lao');
insert into countries (country) values ('Latvia');
insert into countries (country) values ('Lesotho');
insert into countries (country) values ('Liberia');
insert into countries (country) values ('Liechtenstein');
insert into countries (country) values ('Lithuania');
insert into countries (country) values ('Luxembourg');
insert into countries (country) values ('Macau');
insert into countries (country) values ('Macedonia');
insert into countries (country) values ('Madagascar');
insert into countries (country) values ('Malawi');
insert into countries (country) values ('Malaysia');
insert into countries (country) values ('Maldives');
insert into countries (country) values ('Mali');
insert into countries (country) values ('Malta');
insert into countries (country) values ('Marshal Islands');
insert into countries (country) values ('Martinique');
insert into countries (country) values ('Mauritania');
insert into countries (country) values ('Mauritius');
insert into countries (country) values ('Mayotte');
insert into countries (country) values ('Mexico');
insert into countries (country) values ('Micronesia');
insert into countries (country) values ('Moldova');
insert into countries (country) values ('Monaco');
insert into countries (country) values ('Mongolia');
insert into countries (country) values ('Montserrat');
insert into countries (country) values ('Morocco');
insert into countries (country) values ('Mozambique');
insert into countries (country) values ('Myanmar');
insert into countries (country) values ('Namibia');
insert into countries (country) values ('Nauru');
insert into countries (country) values ('Nepal');
insert into countries (country) values ('Netherlands');
insert into countries (country) values ('New Caledonia');
insert into countries (country) values ('New Guinea');
insert into countries (country) values ('New Zealand');
insert into countries (country) values ('Nicaragua');
insert into countries (country) values ('Nigeria');
insert into countries (country) values ('Niue');
insert into countries (country) values ('Norfolk Island');
insert into countries (country) values ('Norway');
insert into countries (country) values ('Palau');
insert into countries (country) values ('Panama');
insert into countries (country) values ('Paraguay');
insert into countries (country) values ('Peru');
insert into countries (country) values ('Puerto');
insert into countries (country) values ('Philippines');
insert into countries (country) values ('Poland');
insert into countries (country) values ('Polynesia');
insert into countries (country) values ('Portugal');
insert into countries (country) values ('Romania');
insert into countries (country) values ('Russia');
insert into countries (country) values ('Rwanda');
insert into countries (country) values ('Saint Lucia');
insert into countries (country) values ('Samoa');
insert into countries (country) values ('San Marino');
insert into countries (country) values ('Senegal');
insert into countries (country) values ('Seychelles');
insert into countries (country) values ('Sierra Leone');
insert into countries (country) values ('Singapore');
insert into countries (country) values ('Slovakia');
insert into countries (country) values ('Slovenia');
insert into countries (country) values ('Somalia');
insert into countries (country) values ('South Africa');
insert into countries (country) values ('Spain');
insert into countries (country) values ('Sri Lanka');
insert into countries (country) values ('St. Helena');
insert into countries (country) values ('Sudan');
insert into countries (country) values ('Suriname');
insert into countries (country) values ('Swaziland');
insert into countries (country) values ('Sweden');
insert into countries (country) values ('Switzerland');
insert into countries (country) values ('Taiwan');
insert into countries (country) values ('Tajikistan');
insert into countries (country) values ('Tanzania');
insert into countries (country) values ('Thailand');
insert into countries (country) values ('Togo');
insert into countries (country) values ('Tokelau');
insert into countries (country) values ('Tonga');
insert into countries (country) values ('Trinidad');
insert into countries (country) values ('Tunisia');
insert into countries (country) values ('Turkey');
insert into countries (country) values ('Uganda');
insert into countries (country) values ('Ukraine');
insert into countries (country) values ('United Kingdom');
insert into countries (country) values ('United States');
insert into countries (country) values ('Uruguay');
insert into countries (country) values ('Uzbekistan');
insert into countries (country) values ('Vanuatu');
insert into countries (country) values ('Venezuela');
insert into countries (country) values ('Vietnam');
insert into countries (country) values ('Virgin Islands');
insert into countries (country) values ('Yugoslavia');
insert into countries (country) values ('Zaire');
insert into countries (country) values ('Zambia');
insert into countries (country) values ('Zimbabwe');


Note: If you find Cote D'Ivoire in the list above, you'll see that I escaped the single quote.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 11:59 pm 
Offline
Forum Regular

Joined: Wed Sep 24, 2003 2:15 pm
Posts: 543
Location: Vancouver, BC
In the near future, I'll be doing the same thing with states in the USA and provinces in Canada.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 14, 2004 4:09 am 
Offline
Her Royal Site Adminness
User avatar

Joined: Tue Apr 23, 2002 2:21 am
Posts: 5371
Location: Essex, UK
I would like to offer a small change to the country table definition, to change the primary key to an auto-incrementing integer, this would allow the country code to be used in another table without having to store the full country name there too -
Syntax: [ Download ] [ Hide ]
CREATE TABLE `countries` (
`ID` SMALLINT( 3 ) NOT NULL AUTO_INCREMENT,
`country` VARCHAR( 100 ) NOT NULL ,
PRIMARY KEY ( `ID` )
);

Useful snippet though microthick, thanks.

Mac


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 14, 2004 9:33 am 
Offline
Forum Regular

Joined: Wed Sep 24, 2003 2:15 pm
Posts: 543
Location: Vancouver, BC
Hi twigletmac,

No problem. ^^


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 20, 2004 2:16 am 
Offline
Forum Regular

Joined: Wed Sep 24, 2003 2:15 pm
Posts: 543
Location: Vancouver, BC
Anyhow, I've quickly written up the SQL to insert states and provinces into their respected tables.

As twigletmac suggested, feel free to create an ID column.

http://www.webwerks.ca/codesnippets/states.sql.txt
http://www.webwerks.ca/codesnippets/provinces.sql.txt


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 12:37 am 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA
Well, here is what I use:

Syntax: [ Download ] [ Hide ]
#
# Table structure for table `state_prov_codes`
#

CREATE TABLE `state_prov_codes` (
  `id` tinyint(3) unsigned NOT NULL auto_increment,
  `code` char(2) NOT NULL default '',
  `state_prov` text NOT NULL,
  `country` char(2) NOT NULL default 'US',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `code` (`code`)
) TYPE=MyISAM AUTO_INCREMENT=63 ;

#
# Dumping data for table `state_prov_codes`
#

INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (1, 'AL', 'Alabama', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (2, 'AK', 'Alaska', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (3, 'AB', 'Alberta', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (4, 'AZ', 'Arizona', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (5, 'AR', 'Arkansas', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (6, 'BC', 'British Columbia', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (7, 'CA', 'California', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (8, 'CO', 'Colorado', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (9, 'CT', 'Connecticut', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (10, 'DE', 'Delaware', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (11, 'DC', 'District of Columbia', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (12, 'FL', 'Florida', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (13, 'GA', 'Georgia', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (14, 'HI', 'Hawaii', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (15, 'ID', 'Idaho', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (16, 'IL', 'Illinois', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (17, 'IN', 'Indiana', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (18, 'IA', 'Iowa', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (19, 'KS', 'Kansas', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (20, 'KY', 'Kentucky', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (21, 'LA', 'Louisiana', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (22, 'ME', 'Maine', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (23, 'MB', 'Manitoba', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (24, 'MD', 'Maryland', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (25, 'MA', 'Massachusetts', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (26, 'MI', 'Michigan', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (27, 'MN', 'Minnesota', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (28, 'MS', 'Mississippi', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (29, 'MO', 'Missouri', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (30, 'MT', 'Montana', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (31, 'NE', 'Nebraska', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (32, 'NV', 'Nevada', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (33, 'NB', 'New Brunswick', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (34, 'NF', 'Newfoundland', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (35, 'NH', 'New Hampshire', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (36, 'NJ', 'New Jersey', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (37, 'NM', 'New Mexico', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (38, 'NY', 'New York', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (39, 'NC', 'North Carolina', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (40, 'ND', 'North Dakota', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (41, 'NS', 'Nova Scotia', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (42, 'OH', 'Ohio', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (43, 'OK', 'Oklahoma', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (44, 'ON', 'Ontario', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (45, 'OR', 'Oregon', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (46, 'PA', 'Pennsylvania', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (47, 'PE', 'Prince Edward Island', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (48, 'QC', 'Quebec', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (49, 'RI', 'Rhode Island', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (50, 'SK', 'Saskatchewan', 'CA');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (51, 'SC', 'South Carolina', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (52, 'SD', 'South Dakota', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (53, 'TN', 'Tennessee', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (54, 'TX', 'Texas', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (55, 'UT', 'Utah', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (56, 'VT', 'Vermont', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (57, 'VA', 'Virginia', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (58, 'WA', 'Washington', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (59, 'WV', 'West Virginia', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (60, 'WI', 'Wisconsin', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (61, 'WY', 'Wyoming', 'US');
INSERT INTO `state_prov_codes` (`id`, `code`, `state_prov`, `country`) VALUES (62, 'NA', 'None of These', 'NA');


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 12:38 am 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA
And what I use for countries

Syntax: [ Download ] [ Hide ]
#
# Table structure for table `country`
#

CREATE TABLE `country` (
  `id` smallint(6) NOT NULL auto_increment,
  `name` char(80) NOT NULL default '',
  `iso` char(2) NOT NULL default '',
  `iso3` char(3) default NULL,
  `numcode` smallint(6) default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `iso_2` (`iso`),
  KEY `iso` (`iso`)
) TYPE=MyISAM AUTO_INCREMENT=240 ;

#
# Dumping data for table `country`
#

INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (1, 'AFGHANISTAN', 'AF', 'AFG', 4);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (2, 'ALBANIA', 'AL', 'ALB', 8);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (3, 'ALGERIA', 'DZ', 'DZA', 12);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (4, 'AMERICAN SAMOA', 'AS', 'ASM', 16);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (5, 'ANDORRA', 'AD', 'AND', 20);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (6, 'ANGOLA', 'AO', 'AGO', 24);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (7, 'ANGUILLA', 'AI', 'AIA', 660);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (8, 'ANTARCTICA', 'AQ', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (9, 'ANTIGUA AND BARBUDA', 'AG', 'ATG', 28);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (10, 'ARGENTINA', 'AR', 'ARG', 32);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (11, 'ARMENIA', 'AM', 'ARM', 51);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (12, 'ARUBA', 'AW', 'ABW', 533);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (13, 'AUSTRALIA', 'AU', 'AUS', 36);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (14, 'AUSTRIA', 'AT', 'AUT', 40);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (15, 'AZERBAIJAN', 'AZ', 'AZE', 31);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (16, 'BAHAMAS', 'BS', 'BHS', 44);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (17, 'BAHRAIN', 'BH', 'BHR', 48);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (18, 'BANGLADESH', 'BD', 'BGD', 50);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (19, 'BARBADOS', 'BB', 'BRB', 52);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (20, 'BELARUS', 'BY', 'BLR', 112);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (21, 'BELGIUM', 'BE', 'BEL', 56);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (22, 'BELIZE', 'BZ', 'BLZ', 84);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (23, 'BENIN', 'BJ', 'BEN', 204);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (24, 'BERMUDA', 'BM', 'BMU', 60);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (25, 'BHUTAN', 'BT', 'BTN', 64);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (26, 'BOLIVIA', 'BO', 'BOL', 68);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (27, 'BOSNIA AND HERZEGOVINA', 'BA', 'BIH', 70);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (28, 'BOTSWANA', 'BW', 'BWA', 72);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (29, 'BOUVET ISLAND', 'BV', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (30, 'BRAZIL', 'BR', 'BRA', 76);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (31, 'BRITISH INDIAN OCEAN TERRITORY', 'IO', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (32, 'BRUNEI DARUSSALAM', 'BN', 'BRN', 96);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (33, 'BULGARIA', 'BG', 'BGR', 100);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (34, 'BURKINA FASO', 'BF', 'BFA', 854);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (35, 'BURUNDI', 'BI', 'BDI', 108);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (36, 'CAMBODIA', 'KH', 'KHM', 116);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (37, 'CAMEROON', 'CM', 'CMR', 120);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (38, 'CANADA', 'CA', 'CAN', 124);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (39, 'CAPE VERDE', 'CV', 'CPV', 132);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (40, 'CAYMAN ISLANDS', 'KY', 'CYM', 136);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (41, 'CENTRAL AFRICAN REPUBLIC', 'CF', 'CAF', 140);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (42, 'CHAD', 'TD', 'TCD', 148);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (43, 'CHILE', 'CL', 'CHL', 152);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (44, 'CHINA', 'CN', 'CHN', 156);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (45, 'CHRISTMAS ISLAND', 'CX', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (46, 'COCOS (KEELING) ISLANDS', 'CC', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (47, 'COLOMBIA', 'CO', 'COL', 170);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (48, 'COMOROS', 'KM', 'COM', 174);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (49, 'CONGO', 'CG', 'COG', 178);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (50, 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'CD', 'COD', 180);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (51, 'COOK ISLANDS', 'CK', 'COK', 184);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (52, 'COSTA RICA', 'CR', 'CRI', 188);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (53, 'COTE D''IVOIRE', 'CI', 'CIV', 384);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (54, 'CROATIA', 'HR', 'HRV', 191);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (55, 'CUBA', 'CU', 'CUB', 192);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (56, 'CYPRUS', 'CY', 'CYP', 196);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (57, 'CZECH REPUBLIC', 'CZ', 'CZE', 203);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (58, 'DENMARK', 'DK', 'DNK', 208);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (59, 'DJIBOUTI', 'DJ', 'DJI', 262);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (60, 'DOMINICA', 'DM', 'DMA', 212);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (61, 'DOMINICAN REPUBLIC', 'DO', 'DOM', 214);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (62, 'ECUADOR', 'EC', 'ECU', 218);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (63, 'EGYPT', 'EG', 'EGY', 818);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (64, 'EL SALVADOR', 'SV', 'SLV', 222);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (65, 'EQUATORIAL GUINEA', 'GQ', 'GNQ', 226);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (66, 'ERITREA', 'ER', 'ERI', 232);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (67, 'ESTONIA', 'EE', 'EST', 233);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (68, 'ETHIOPIA', 'ET', 'ETH', 231);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (69, 'FALKLAND ISLANDS (MALVINAS)', 'FK', 'FLK', 238);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (70, 'FAROE ISLANDS', 'FO', 'FRO', 234);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (71, 'FIJI', 'FJ', 'FJI', 242);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (72, 'FINLAND', 'FI', 'FIN', 246);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (73, 'FRANCE', 'FR', 'FRA', 250);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (74, 'FRENCH GUIANA', 'GF', 'GUF', 254);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (75, 'FRENCH POLYNESIA', 'PF', 'PYF', 258);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (76, 'FRENCH SOUTHERN TERRITORIES', 'TF', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (77, 'GABON', 'GA', 'GAB', 266);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (78, 'GAMBIA', 'GM', 'GMB', 270);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (79, 'GEORGIA', 'GE', 'GEO', 268);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (80, 'GERMANY', 'DE', 'DEU', 276);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (81, 'GHANA', 'GH', 'GHA', 288);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (82, 'GIBRALTAR', 'GI', 'GIB', 292);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (83, 'GREECE', 'GR', 'GRC', 300);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (84, 'GREENLAND', 'GL', 'GRL', 304);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (85, 'GRENADA', 'GD', 'GRD', 308);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (86, 'GUADELOUPE', 'GP', 'GLP', 312);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (87, 'GUAM', 'GU', 'GUM', 316);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (88, 'GUATEMALA', 'GT', 'GTM', 320);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (89, 'GUINEA', 'GN', 'GIN', 324);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (90, 'GUINEA-BISSAU', 'GW', 'GNB', 624);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (91, 'GUYANA', 'GY', 'GUY', 328);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (92, 'HAITI', 'HT', 'HTI', 332);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (93, 'HEARD ISLAND AND MCDONALD ISLANDS', 'HM', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (94, 'HOLY SEE (VATICAN CITY STATE)', 'VA', 'VAT', 336);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (95, 'HONDURAS', 'HN', 'HND', 340);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (96, 'HONG KONG', 'HK', 'HKG', 344);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (97, 'HUNGARY', 'HU', 'HUN', 348);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (98, 'ICELAND', 'IS', 'ISL', 352);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (99, 'INDIA', 'IN', 'IND', 356);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (100, 'INDONESIA', 'ID', 'IDN', 360);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (101, 'IRAN, ISLAMIC REPUBLIC OF', 'IR', 'IRN', 364);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (102, 'IRAQ', 'IQ', 'IRQ', 368);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (103, 'IRELAND', 'IE', 'IRL', 372);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (104, 'ISRAEL', 'IL', 'ISR', 376);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (105, 'ITALY', 'IT', 'ITA', 380);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (106, 'JAMAICA', 'JM', 'JAM', 388);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (107, 'JAPAN', 'JP', 'JPN', 392);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (108, 'JORDAN', 'JO', 'JOR', 400);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (109, 'KAZAKHSTAN', 'KZ', 'KAZ', 398);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (110, 'KENYA', 'KE', 'KEN', 404);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (111, 'KIRIBATI', 'KI', 'KIR', 296);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (112, 'KOREA, DEMOCRATIC PEOPLE''S REPUBLIC OF', 'KP', 'PRK', 408);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (113, 'KOREA, REPUBLIC OF', 'KR', 'KOR', 410);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (114, 'KUWAIT', 'KW', 'KWT', 414);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (115, 'KYRGYZSTAN', 'KG', 'KGZ', 417);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (116, 'LAO PEOPLE''S DEMOCRATIC REPUBLIC', 'LA', 'LAO', 418);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (117, 'LATVIA', 'LV', 'LVA', 428);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (118, 'LEBANON', 'LB', 'LBN', 422);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (119, 'LESOTHO', 'LS', 'LSO', 426);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (120, 'LIBERIA', 'LR', 'LBR', 430);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (121, 'LIBYAN ARAB JAMAHIRIYA', 'LY', 'LBY', 434);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (122, 'LIECHTENSTEIN', 'LI', 'LIE', 438);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (123, 'LITHUANIA', 'LT', 'LTU', 440);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (124, 'LUXEMBOURG', 'LU', 'LUX', 442);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (125, 'MACAO', 'MO', 'MAC', 446);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (126, 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'MK', 'MKD', 807);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (127, 'MADAGASCAR', 'MG', 'MDG', 450);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (128, 'MALAWI', 'MW', 'MWI', 454);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (129, 'MALAYSIA', 'MY', 'MYS', 458);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (130, 'MALDIVES', 'MV', 'MDV', 462);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (131, 'MALI', 'ML', 'MLI', 466);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (132, 'MALTA', 'MT', 'MLT', 470);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (133, 'MARSHALL ISLANDS', 'MH', 'MHL', 584);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (134, 'MARTINIQUE', 'MQ', 'MTQ', 474);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (135, 'MAURITANIA', 'MR', 'MRT', 478);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (136, 'MAURITIUS', 'MU', 'MUS', 480);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (137, 'MAYOTTE', 'YT', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (138, 'MEXICO', 'MX', 'MEX', 484);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (139, 'MICRONESIA, FEDERATED STATES OF', 'FM', 'FSM', 583);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (140, 'MOLDOVA, REPUBLIC OF', 'MD', 'MDA', 498);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (141, 'MONACO', 'MC', 'MCO', 492);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (142, 'MONGOLIA', 'MN', 'MNG', 496);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (143, 'MONTSERRAT', 'MS', 'MSR', 500);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (144, 'MOROCCO', 'MA', 'MAR', 504);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (145, 'MOZAMBIQUE', 'MZ', 'MOZ', 508);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (146, 'MYANMAR', 'MM', 'MMR', 104);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (147, 'NAMIBIA', 'NA', 'NAM', 516);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (148, 'NAURU', 'NR', 'NRU', 520);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (149, 'NEPAL', 'NP', 'NPL', 524);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (150, 'NETHERLANDS', 'NL', 'NLD', 528);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (151, 'NETHERLANDS ANTILLES', 'AN', 'ANT', 530);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (152, 'NEW CALEDONIA', 'NC', 'NCL', 540);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (153, 'NEW ZEALAND', 'NZ', 'NZL', 554);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (154, 'NICARAGUA', 'NI', 'NIC', 558);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (155, 'NIGER', 'NE', 'NER', 562);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (156, 'NIGERIA', 'NG', 'NGA', 566);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (157, 'NIUE', 'NU', 'NIU', 570);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (158, 'NORFOLK ISLAND', 'NF', 'NFK', 574);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (159, 'NORTHERN MARIANA ISLANDS', 'MP', 'MNP', 580);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (160, 'NORWAY', 'NO', 'NOR', 578);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (161, 'OMAN', 'OM', 'OMN', 512);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (162, 'PAKISTAN', 'PK', 'PAK', 586);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (163, 'PALAU', 'PW', 'PLW', 585);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (164, 'PALESTINIAN TERRITORY, OCCUPIED', 'PS', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (165, 'PANAMA', 'PA', 'PAN', 591);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (166, 'PAPUA NEW GUINEA', 'PG', 'PNG', 598);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (167, 'PARAGUAY', 'PY', 'PRY', 600);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (168, 'PERU', 'PE', 'PER', 604);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (169, 'PHILIPPINES', 'PH', 'PHL', 608);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (170, 'PITCAIRN', 'PN', 'PCN', 612);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (171, 'POLAND', 'PL', 'POL', 616);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (172, 'PORTUGAL', 'PT', 'PRT', 620);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (173, 'PUERTO RICO', 'PR', 'PRI', 630);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (174, 'QATAR', 'QA', 'QAT', 634);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (175, 'REUNION', 'RE', 'REU', 638);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (176, 'ROMANIA', 'RO', 'ROM', 642);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (177, 'RUSSIAN FEDERATION', 'RU', 'RUS', 643);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (178, 'RWANDA', 'RW', 'RWA', 646);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (179, 'SAINT HELENA', 'SH', 'SHN', 654);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (180, 'SAINT KITTS AND NEVIS', 'KN', 'KNA', 659);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (181, 'SAINT LUCIA', 'LC', 'LCA', 662);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (182, 'SAINT PIERRE AND MIQUELON', 'PM', 'SPM', 666);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (183, 'SAINT VINCENT AND THE GRENADINES', 'VC', 'VCT', 670);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (184, 'SAMOA', 'WS', 'WSM', 882);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (185, 'SAN MARINO', 'SM', 'SMR', 674);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (186, 'SAO TOME AND PRINCIPE', 'ST', 'STP', 678);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (187, 'SAUDI ARABIA', 'SA', 'SAU', 682);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (188, 'SENEGAL', 'SN', 'SEN', 686);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (189, 'SEYCHELLES', 'SC', 'SYC', 690);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (190, 'SIERRA LEONE', 'SL', 'SLE', 694);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (191, 'SINGAPORE', 'SG', 'SGP', 702);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (192, 'SLOVAKIA', 'SK', 'SVK', 703);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (193, 'SLOVENIA', 'SI', 'SVN', 705);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (194, 'SOLOMON ISLANDS', 'SB', 'SLB', 90);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (195, 'SOMALIA', 'SO', 'SOM', 706);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (196, 'SOUTH AFRICA', 'ZA', 'ZAF', 710);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (197, 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'GS', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (198, 'SPAIN', 'ES', 'ESP', 724);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (199, 'SRI LANKA', 'LK', 'LKA', 144);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (200, 'SUDAN', 'SD', 'SDN', 736);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (201, 'SURINAME', 'SR', 'SUR', 740);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (202, 'SVALBARD AND JAN MAYEN', 'SJ', 'SJM', 744);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (203, 'SWAZILAND', 'SZ', 'SWZ', 748);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (204, 'SWEDEN', 'SE', 'SWE', 752);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (205, 'SWITZERLAND', 'CH', 'CHE', 756);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (206, 'SYRIAN ARAB REPUBLIC', 'SY', 'SYR', 760);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (207, 'TAIWAN, PROVINCE OF CHINA', 'TW', 'TWN', 158);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (208, 'TAJIKISTAN', 'TJ', 'TJK', 762);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (209, 'TANZANIA, UNITED REPUBLIC OF', 'TZ', 'TZA', 834);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (210, 'THAILAND', 'TH', 'THA', 764);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (211, 'TIMOR-LESTE', 'TL', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (212, 'TOGO', 'TG', 'TGO', 768);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (213, 'TOKELAU', 'TK', 'TKL', 772);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (214, 'TONGA', 'TO', 'TON', 776);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (215, 'TRINIDAD AND TOBAGO', 'TT', 'TTO', 780);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (216, 'TUNISIA', 'TN', 'TUN', 788);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (217, 'TURKEY', 'TR', 'TUR', 792);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (218, 'TURKMENISTAN', 'TM', 'TKM', 795);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (219, 'TURKS AND CAICOS ISLANDS', 'TC', 'TCA', 796);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (220, 'TUVALU', 'TV', 'TUV', 798);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (221, 'UGANDA', 'UG', 'UGA', 800);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (222, 'UKRAINE', 'UA', 'UKR', 804);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (223, 'UNITED ARAB EMIRATES', 'AE', 'ARE', 784);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (224, 'UNITED KINGDOM', 'GB', 'GBR', 826);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (225, 'UNITED STATES', 'US', 'USA', 840);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (226, 'UNITED STATES MINOR OUTLYING ISLANDS', 'UM', NULL, NULL);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (227, 'URUGUAY', 'UY', 'URY', 858);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (228, 'UZBEKISTAN', 'UZ', 'UZB', 860);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (229, 'VANUATU', 'VU', 'VUT', 548);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (230, 'VENEZUELA', 'VE', 'VEN', 862);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (231, 'VIET NAM', 'VN', 'VNM', 704);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (232, 'VIRGIN ISLANDS, BRITISH', 'VG', 'VGB', 92);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (233, 'VIRGIN ISLANDS, U.S.', 'VI', 'VIR', 850);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (234, 'WALLIS AND FUTUNA', 'WF', 'WLF', 876);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (235, 'WESTERN SAHARA', 'EH', 'ESH', 732);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (236, 'YEMEN', 'YE', 'YEM', 887);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (237, 'YUGOSLAVIA', 'YU', 'YUG', 891);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (238, 'ZAMBIA', 'ZM', 'ZMB', 894);
INSERT INTO `country` (`id`, `name`, `iso`, `iso3`, `numcode`) VALUES (239, 'ZIMBABWE', 'ZW', 'ZWE', 716);


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group