-
Notifications
You must be signed in to change notification settings - Fork 1
/
countries.sql
257 lines (250 loc) · 7.76 KB
/
countries.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
CREATE TABLE IF NOT EXISTS `countries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`shortname` varchar(3) NOT NULL,
`name` varchar(150) NOT NULL,
`phonecode` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=249 ;
INSERT INTO `countries` (`id`, `shortname`, `name`, `phonecode`) VALUES
(1, 'AF', 'Afghanistan', 93),
(2, 'AL', 'Albania', 355),
(3, 'DZ', 'Algeria', 213),
(4, 'AS', 'American Samoa', 1684),
(5, 'AD', 'Andorra', 376),
(6, 'AO', 'Angola', 244),
(7, 'AI', 'Anguilla', 1264),
(8, 'AG', 'Antigua And Barbuda', 1268),
(9, 'AR', 'Argentina', 54),
(10, 'AM', 'Armenia', 374),
(11, 'AW', 'Aruba', 297),
(12, 'AU', 'Australia', 61),
(13, 'AT', 'Austria', 43),
(14, 'AZ', 'Azerbaijan', 994),
(15, 'BS', 'Bahamas', 1242),
(16, 'BH', 'Bahrain', 973),
(17, 'BD', 'Bangladesh', 880),
(18, 'BB', 'Barbados', 1246),
(19, 'BY', 'Belarus', 375),
(20, 'BE', 'Belgium', 32),
(21, 'BZ', 'Belize', 501),
(22, 'BJ', 'Benin', 229),
(23, 'BM', 'Bermuda', 1441),
(24, 'BT', 'Bhutan', 975),
(25, 'BO', 'Bolivia', 591),
(26, 'BA', 'Bosnia and Herzegovina', 387),
(27, 'BW', 'Botswana', 267),
(28, 'BR', 'Brazil', 55),
(29, 'IO', 'British Virgin Islands', 246),
(30, 'BN', 'Brunei', 673),
(31, 'BG', 'Bulgaria', 359),
(32, 'BF', 'Burkina Faso', 226),
(33, 'BI', 'Burundi', 257),
(34, 'KH', 'Cambodia', 855),
(35, 'CM', 'Cameroon', 237),
(36, 'CA', 'Canada', 1),
(37, 'CV', 'Cape Verde', 238),
(38, 'CS', 'Caribbean Netherlands', 1345),
(39, 'KY', 'Cayman Islands', 1345),
(40, 'CF', 'Central African Republic', 236),
(41, 'TD', 'Chad', 235),
(42, 'CL', 'Chile', 56),
(43, 'CN', 'China', 86),
(44, 'CO', 'Colombia', 57),
(45, 'KM', 'Comoros', 269),
(46, 'CG', 'Congo', 242),
(47, 'CK', 'Cook Islands', 682),
(48, 'CR', 'Costa Rica', 506),
(49, 'HR', 'Croatia', 385),
(50, 'CU', 'Cuba', 53),
(51, 'CB', 'Curaçao', 0),
(52, 'CY', 'Cyprus', 357),
(53, 'CZ', 'Czech Republic', 420),
(54, 'DK', 'Denmark', 45),
(55, 'DJ', 'Djibouti', 253),
(56, 'DM', 'Dominica', 1767),
(57, 'DO', 'Dominican Republic', 1809),
(58, 'DR', 'DR Congo', 0),
(59, 'TP', 'East Timor', 670),
(60, 'EC', 'Ecuador', 593),
(61, 'EG', 'Egypt', 20),
(62, 'SV', 'El Salvador', 503),
(63, 'GQ', 'Equatorial Guinea', 240),
(64, 'ER', 'Eritrea', 291),
(65, 'EE', 'Estonia', 372),
(66, 'SZ', 'Eswatini', 268),
(67, 'ET', 'Ethiopia', 251),
(68, 'FM', 'F.S. Micronesia', 0),
(69, 'FK', 'Falkland Islands', 500),
(70, 'FO', 'Faroe Islands', 298),
(71, 'FJ', 'Fiji', 679),
(72, 'FI', 'Finland', 358),
(73, 'FR', 'France', 33),
(74, 'GF', 'French Guiana', 594),
(75, 'PF', 'French Polynesia', 689),
(76, 'GA', 'Gabon', 241),
(77, 'GM', 'Gambia', 220),
(78, 'GE', 'Georgia', 995),
(79, 'DE', 'Germany', 49),
(80, 'GH', 'Ghana', 233),
(81, 'GI', 'Gibraltar', 350),
(82, 'GR', 'Greece', 30),
(83, 'GL', 'Greenland', 299),
(84, 'GD', 'Grenada', 1473),
(85, 'GP', 'Guadeloupe', 590),
(86, 'GU', 'Guam', 1671),
(87, 'GT', 'Guatemala', 502),
(88, 'XU', 'Guernsey and Jersey', 44),
(89, 'GN', 'Guinea', 224),
(90, 'GW', 'Guinea-Bissau', 245),
(91, 'GY', 'Guyana', 592),
(92, 'HT', 'Haiti', 509),
(93, 'HN', 'Honduras', 504),
(94, 'HK', 'Hong Kong', 852),
(95, 'HU', 'Hungary', 36),
(96, 'IS', 'Iceland', 354),
(97, 'IN', 'India', 91),
(98, 'ID', 'Indonesia', 62),
(99, 'IR', 'Iran', 98),
(100, 'IQ', 'Iraq', 964),
(101, 'IE', 'Ireland', 353),
(102, 'IM', 'Isle of Man', 0),
(103, 'IL', 'Israel', 972),
(104, 'IT', 'Italy', 39),
(105, 'CI', 'Ivory Coast', 225),
(106, 'JM', 'Jamaica', 1876),
(107, 'JP', 'Japan', 81),
(108, 'JO', 'Jordan', 962),
(109, 'KZ', 'Kazakhstan', 7),
(110, 'KE', 'Kenya', 254),
(111, 'KI', 'Kiribati', 686),
(112, 'KW', 'Kuwait', 965),
(113, 'KG', 'Kyrgyzstan', 996),
(114, 'LA', 'Laos', 856),
(115, 'LV', 'Latvia', 371),
(116, 'LB', 'Lebanon', 961),
(117, 'LS', 'Lesotho', 266),
(118, 'LR', 'Liberia', 231),
(119, 'LY', 'Libya', 218),
(120, 'LI', 'Liechtenstein', 423),
(121, 'LT', 'Lithuania', 370),
(122, 'LU', 'Luxembourg', 352),
(123, 'MO', 'Macau', 853),
(124, 'MG', 'Madagascar', 261),
(125, 'MW', 'Malawi', 265),
(126, 'MY', 'Malaysia', 60),
(127, 'MV', 'Maldives', 960),
(128, 'ML', 'Mali', 223),
(129, 'MT', 'Malta', 356),
(130, 'MH', 'Marshall Islands', 692),
(131, 'MQ', 'Martinique', 596),
(132, 'MR', 'Mauritania', 222),
(133, 'MU', 'Mauritius', 230),
(134, 'YT', 'Mayotte', 269),
(135, 'MX', 'Mexico', 52),
(136, 'MD', 'Moldova', 373),
(137, 'MC', 'Monaco', 377),
(138, 'MN', 'Mongolia', 976),
(139, 'ME', 'Montenegro', 0),
(140, 'MS', 'Montserrat', 1664),
(141, 'MA', 'Morocco', 212),
(142, 'MZ', 'Mozambique', 258),
(143, 'MM', 'Myanmar', 95),
(144, 'NA', 'Namibia', 264),
(145, 'NR', 'Nauru', 674),
(146, 'NP', 'Nepal', 977),
(147, 'NL', 'Netherlands', 31),
(148, 'NC', 'New Caledonia', 687),
(149, 'NZ', 'New Zealand', 64),
(150, 'NI', 'Nicaragua', 505),
(151, 'NE', 'Niger', 227),
(152, 'NG', 'Nigeria', 234),
(153, 'NU', 'Niue', 683),
(154, 'KP', 'North Korea', 850),
(155, 'NM', 'North Macedonia', 0),
(156, 'MP', 'Northern Mariana Islands', 1670),
(157, 'NO', 'Norway', 47),
(158, 'OM', 'Oman', 968),
(159, 'PK', 'Pakistan', 92),
(160, 'PW', 'Palau', 680),
(161, 'PS', 'Palestine', 970),
(162, 'PA', 'Panama', 507),
(163, 'PG', 'Papua new Guinea', 675),
(164, 'PY', 'Paraguay', 595),
(165, 'PE', 'Peru', 51),
(166, 'PH', 'Philippines', 63),
(167, 'PL', 'Poland', 48),
(168, 'PT', 'Portugal', 351),
(169, 'PR', 'Puerto Rico', 1787),
(170, 'QA', 'Qatar', 974),
(171, 'RE', 'Reunion', 262),
(172, 'RO', 'Romania', 40),
(173, 'RU', 'Russia', 70),
(174, 'RW', 'Rwanda', 250),
(175, 'SH', 'Saint Helena, Ascension and Tristan da Cunha', 290),
(176, 'KN', 'Saint Kitts And Nevis', 1869),
(177, 'LC', 'Saint Lucia', 1758),
(178, 'PM', 'Saint Pierre and Miquelon', 508),
(179, 'VC', 'Saint Vincent And The Grenadines', 1784),
(180, 'WS', 'Samoa', 684),
(181, 'SM', 'San Marino', 378),
(182, 'ST', 'Sao Tome and Principe', 239),
(183, 'SA', 'Saudi Arabia', 966),
(184, 'SN', 'Senegal', 221),
(185, 'RS', 'Serbia', 381),
(186, 'SC', 'Seychelles', 248),
(187, 'SL', 'Sierra Leone', 232),
(188, 'SG', 'Singapore', 65),
(189, 'SV', 'Sint Maarten', 0),
(190, 'SK', 'Slovakia', 421),
(191, 'SI', 'Slovenia', 386),
(192, 'SB', 'Solomon Islands', 677),
(193, 'SO', 'Somalia', 252),
(194, 'ZA', 'South Africa', 27),
(195, 'KR', 'South Korea', 82),
(196, 'SS', 'South Sudan', 211),
(197, 'ES', 'Spain', 34),
(198, 'LK', 'Sri Lanka', 94),
(199, 'SD', 'Sudan', 249),
(200, 'SR', 'Suriname', 597),
(201, 'SE', 'Sweden', 46),
(202, 'CH', 'Switzerland', 41),
(203, 'SY', 'Syria', 963),
(204, 'TW', 'Taiwan', 886),
(205, 'TJ', 'Tajikistan', 992),
(206, 'TZ', 'Tanzania', 255),
(207, 'TH', 'Thailand', 66),
(208, 'TG', 'Togo', 228),
(209, 'TK', 'Tokelau', 690),
(210, 'TO', 'Tonga', 676),
(211, 'TT', 'Trinidad And Tobago', 1868),
(212, 'TN', 'Tunisia', 216),
(213, 'TR', 'Turkey', 90),
(214, 'TM', 'Turkmenistan', 7370),
(215, 'TC', 'Turks And Caicos Islands', 1649),
(216, 'TV', 'Tuvalu', 688),
(217, 'UV', 'U.S. Virgin Islands', 0),
(218, 'UG', 'Uganda', 256),
(219, 'UA', 'Ukraine', 380),
(220, 'AE', 'United Arab Emirates', 971),
(221, 'GB', 'United Kingdom', 44),
(222, 'US', 'United States', 1),
(223, 'UY', 'Uruguay', 598),
(224, 'UZ', 'Uzbekistan', 998),
(225, 'VU', 'Vanuatu', 678),
(226, 'VA', 'Vatican City', 39),
(227, 'VE', 'Venezuela', 58),
(228, 'VN', 'Vietnam', 84),
(229, 'WF', 'Wallis And Futuna Islands', 681),
(230, 'EH', 'Western Sahara', 212),
(231, 'YE', 'Yemen', 967),
(232, 'ZM', 'Zambia', 260),
(233, 'ZW', 'Zimbabwe', 263);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;