(Sharing is the most valuable work of
this universe.
So don't forget to share.
Help
the world, help yourself.)
CREATE TABLE `countries` (
`countryid`
smallint(6) NOT NULL,
`country`
varchar(150) NOT NULL,
`countrycode`
char(10) NOT NULL,
`subscriber`
char(19) DEFAULT NULL,
`nationality`
varchar(150) DEFAULT NULL,
`currency`
varchar(45) DEFAULT NULL
);
After that execute below SQL code to insert countries:
INSERT INTO `countries` (`countryid`, `country`,
`countrycode`, `subscriber`, `nationality`, `currency`) VALUES
(1, 'Afghanistan', 'AF', NULL, NULL, NULL),
(2, 'Albania', 'AL', NULL, NULL, NULL),
(3, 'Algeria', 'DZ', NULL, NULL, NULL),
(4, 'American Samoa', 'DS', NULL, NULL, NULL),
(6, 'Angola', 'AO', NULL, NULL, NULL),
(7, 'Anguilla', 'AI', NULL, NULL, NULL),
(8, 'Antarctica', 'AQ', NULL, NULL, NULL),
(9, 'Antigua and Barbuda', 'AG', NULL, NULL, NULL),
(10, 'Argentina', 'AR', NULL, NULL, NULL),
(11, 'Armenia', 'AM', NULL, NULL, NULL),
(12, 'Aruba', 'AW', NULL, NULL, NULL),
(13, 'Australia', 'AU', NULL, NULL, NULL),
(14, 'Austria', 'AT', NULL, NULL, NULL),
(15, 'Azerbaijan', 'AZ', NULL, NULL, NULL),
(16, 'Bahamas', 'BS', NULL, NULL, NULL),
(17, 'Bahrain', 'BH', NULL, NULL, NULL),
(18, 'Bangladesh', 'BD', NULL, NULL, NULL),
(19, 'Barbados', 'BB', NULL, NULL, NULL),
(20, 'Belarus', 'BY', NULL, NULL, NULL),
(21, 'Belgium', 'BE', NULL, NULL, NULL),
(22, 'Belize', 'BZ', NULL, NULL, NULL),
(23, 'Benin', 'BJ', NULL, NULL, NULL),
(24, 'Bermuda', 'BM', NULL, NULL, NULL),
(25, 'Bhutan', 'BT', NULL, NULL, NULL),
(26, 'Bolivia', 'BO', NULL, NULL, NULL),
(27, 'Bosnia and Herzegovina', 'BA', NULL, NULL, NULL),
(28, 'Botswana', 'BW', NULL, NULL, NULL),
(29, 'Bouvet Island', 'BV', NULL, NULL, NULL),
(30, 'Brazil', 'BR', NULL, NULL, NULL),
(31, 'British Indian Ocean Territory', 'IO', NULL, NULL,
NULL),
(32, 'Brunei Darussalam', 'BN', NULL, NULL, NULL),
(33, 'Bulgaria', 'BG', NULL, NULL, NULL),
(34, 'Burkina Faso', 'BF', NULL, NULL, NULL),
(35, 'Burundi', 'BI', NULL, NULL, NULL),
(36, 'Cambodia', 'KH', NULL, NULL, NULL),
(37, 'Cameroon', 'CM', NULL, NULL, NULL),
(38, 'Canada', 'CA', NULL, NULL, NULL),
(39, 'Cape Verde', 'CV', NULL, NULL, NULL),
(40, 'Cayman Islands', 'KY', NULL, NULL, NULL),
(41, 'Central African Republic', 'CF', NULL, NULL, NULL),
(42, 'Chad', 'TD', NULL, NULL, NULL),
(43, 'Chile', 'CL', NULL, NULL, NULL),
(44, 'China', 'CN', NULL, NULL, NULL),
(45, 'Christmas Island', 'CX', NULL, NULL, NULL),
(46, 'Cocos (Keeling) Islands', 'CC', NULL, NULL, NULL),
(47, 'Colombia', 'CO', NULL, NULL, NULL),
(48, 'Comoros', 'KM', NULL, NULL, NULL),
(49, 'Congo', 'CG', NULL, NULL, NULL),
(50, 'Cook Islands', 'CK', NULL, NULL, NULL),
(51, 'Costa Rica', 'CR', NULL, NULL, NULL),
(52, 'Croatia (Hrvatska)', 'HR', NULL, NULL, NULL),
(53, 'Cuba', 'CU', NULL, NULL, NULL),
(54, 'Cyprus', 'CY', NULL, NULL, NULL),
(55, 'Czech Republic', 'CZ', NULL, NULL, NULL),
(56, 'Denmark', 'DK', NULL, NULL, NULL),
(57, 'Djibouti', 'DJ', NULL, NULL, NULL),
(58, 'Dominica', 'DM', NULL, NULL, NULL),
(59, 'Dominican Republic', 'DO', NULL, NULL, NULL),
(60, 'East Timor', 'TP', NULL, NULL, NULL),
(61, 'Ecuador', 'EC', NULL, NULL, NULL),
(62, 'Egypt', 'EG', NULL, NULL, NULL),
(63, 'El Salvador', 'SV', NULL, NULL, NULL),
(64, 'Equatorial Guinea', 'GQ', NULL, NULL, NULL),
(65, 'Eritrea', 'ER', NULL, NULL, NULL),
(66, 'Estonia', 'EE', NULL, NULL, NULL),
(67, 'Ethiopia', 'ET', NULL, NULL, NULL),
(68, 'Falkland Islands (Malvinas)', 'FK', NULL, NULL,
NULL),
(69, 'Faroe Islands', 'FO', NULL, NULL, NULL),
(70, 'Fiji', 'FJ', NULL, NULL, NULL),
(71, 'Finland', 'FI', NULL, NULL, NULL),
(72, 'France', 'FR', NULL, NULL, NULL),
(73, 'France, Metropolitan', 'FX', NULL, NULL, NULL),
(74, 'French Guiana', 'GF', NULL, NULL, NULL),
(75, 'French Polynesia', 'PF', NULL, NULL, NULL),
(76, 'French Southern Territories', 'TF', NULL, NULL,
NULL),
(77, 'Gabon', 'GA', NULL, NULL, NULL),
(78, 'Gambia', 'GM', NULL, NULL, NULL),
(79, 'Georgia', 'GE', NULL, NULL, NULL),
(80, 'Germany', 'DE', NULL, NULL, NULL),
(81, 'Ghana', 'GH', NULL, NULL, NULL),
(82, 'Gibraltar', 'GI', NULL, NULL, NULL),
(83, 'Guernsey', 'GK', NULL, NULL, NULL),
(84, 'Greece', 'GR', NULL, NULL, NULL),
(85, 'Greenland', 'GL', NULL, NULL, NULL),
(86, 'Grenada', 'GD', NULL, NULL, NULL),
(87, 'Guadeloupe', 'GP', NULL, NULL, NULL),
(88, 'Guam', 'GU', NULL, NULL, NULL),
(89, 'Guatemala', 'GT', NULL, NULL, NULL),
(90, 'Guinea', 'GN', NULL, NULL, NULL),
(91, 'Guinea-Bissau', 'GW', NULL, NULL, NULL),
(92, 'Guyana', 'GY', NULL, NULL, NULL),
(93, 'Haiti', 'HT', NULL, NULL, NULL),
(94, 'Heard and Mc Donald Islands', 'HM', NULL, NULL, NULL),
(95, 'Honduras', 'HN', NULL, NULL, NULL),
(96, 'Hong Kong', 'HK', NULL, NULL, NULL),
(97, 'Hungary', 'HU', NULL, NULL, NULL),
(98, 'Iceland', 'IS', NULL, NULL, NULL),
(99, 'India', 'IN', NULL, NULL, NULL),
(100, 'Isle of Man', 'IM', NULL, NULL, NULL),
(101, 'Indonesia', 'ID', NULL, NULL, NULL),
(102, 'Iran (Islamic Republic of)', 'IR', NULL, NULL,
NULL),
(103, 'Iraq', 'IQ', NULL, NULL, NULL),
(104, 'Ireland', 'IE', NULL, NULL, NULL),
(105, 'Israel', 'IL', NULL, NULL, NULL),
(106, 'Italy', 'IT', NULL, NULL, NULL),
(107, 'Ivory Coast', 'CI', NULL, NULL, NULL),
(108, 'Jersey', 'JE', NULL, NULL, NULL),
(109, 'Jamaica', 'JM', NULL, NULL, NULL),
(110, 'Japan', 'JP', NULL, NULL, NULL),
(111, 'Jordan', 'JO', NULL, NULL, NULL),
(112, 'Kazakhstan', 'KZ', NULL, NULL, NULL),
(113, 'Kenya', 'KE', NULL, NULL, NULL),
(114, 'Kiribati', 'KI', NULL, NULL, NULL),
(115, 'Korea, Democratic People''s Republic of', 'KP',
NULL, NULL, NULL),
(116, 'Korea, Republic of', 'KR', NULL, NULL, NULL),
(117, 'Kosovo', 'XK', NULL, NULL, NULL),
(118, 'Kuwait', 'KW', NULL, NULL, NULL),
(119, 'Kyrgyzstan', 'KG', NULL, NULL, NULL),
(120, 'Lao People''s Democratic Republic', 'LA', NULL,
NULL, NULL),
(121, 'Latvia', 'LV', NULL, NULL, NULL),
(122, 'Lebanon', 'LB', NULL, NULL, NULL),
(123, 'Lesotho', 'LS', NULL, NULL, NULL),
(124, 'Liberia', 'LR', NULL, NULL, NULL),
(125, 'Libyan Arab Jamahiriya', 'LY', NULL, NULL, NULL),
(126, 'Liechtenstein', 'LI', NULL, NULL, NULL),
(127, 'Lithuania', 'LT', NULL, NULL, NULL),
(128, 'Luxembourg', 'LU', NULL, NULL, NULL),
(129, 'Macau', 'MO', NULL, NULL, NULL),
(130, 'Macedonia', 'MK', NULL, NULL, NULL),
(131, 'Madagascar', 'MG', NULL, NULL, NULL),
(132, 'Malawi', 'MW', NULL, NULL, NULL),
(133, 'Malaysia', 'MY', NULL, NULL, NULL),
(134, 'Maldives', 'MV', NULL, NULL, NULL),
(135, 'Mali', 'ML', NULL, NULL, NULL),
(136, 'Malta', 'MT', NULL, NULL, NULL),
(137, 'Marshall Islands', 'MH', NULL, NULL, NULL),
(138, 'Martinique', 'MQ', NULL, NULL, NULL),
(139, 'Mauritania', 'MR', NULL, NULL, NULL),
(140, 'Mauritius', 'MU', NULL, NULL, NULL),
(141, 'Mayotte', 'TY', NULL, NULL, NULL),
(142, 'Mexico', 'MX', NULL, NULL, NULL),
(143, 'Micronesia, Federated States of', 'FM', NULL,
NULL, NULL),
(144, 'Moldova, Republic of', 'MD', NULL, NULL, NULL),
(145, 'Monaco', 'MC', NULL, NULL, NULL),
(146, 'Mongolia', 'MN', NULL, NULL, NULL),
(147, 'Montenegro', 'ME', NULL, NULL, NULL),
(148, 'Montserrat', 'MS', NULL, NULL, NULL),
(149, 'Morocco', 'MA', NULL, NULL, NULL),
(150, 'Mozambique', 'MZ', NULL, NULL, NULL),
(151, 'Myanmar', 'MM', NULL, NULL, NULL),
(152, 'Namibia', 'NA', NULL, NULL, NULL),
(153, 'Nauru', 'NR', NULL, NULL, NULL),
(154, 'Nepal', 'NP', NULL, NULL, NULL),
(155, 'Netherlands', 'NL', NULL, NULL, NULL),
(156, 'Netherlands Antilles', 'AN', NULL, NULL, NULL),
(157, 'New Caledonia', 'NC', NULL, NULL, NULL),
(158, 'New Zealand', 'NZ', NULL, NULL, NULL),
(159, 'Nicaragua', 'NI', NULL, NULL, NULL),
(160, 'Niger', 'NE', NULL, NULL, NULL),
(161, 'Nigeria', 'NG', NULL, NULL, NULL),
(162, 'Niue', 'NU', NULL, NULL, NULL),
(163, 'Norfolk Island', 'NF', NULL, NULL, NULL),
(164, 'Northern Mariana Islands', 'MP', NULL, NULL,
NULL),
(165, 'Norway', 'NO', NULL, NULL, NULL),
(166, 'Oman', 'OM', NULL, NULL, NULL),
(167, 'Pakistan', 'PK', NULL, NULL, NULL),
(168, 'Palau', 'PW', NULL, NULL, NULL),
(169, 'Palestine', 'PS', NULL, NULL, NULL),
(170, 'Panama', 'PA', NULL, NULL, NULL),
(171, 'Papua New Guinea', 'PG', NULL, NULL, NULL),
(172, 'Paraguay', 'PY', NULL, NULL, NULL),
(173, 'Peru', 'PE', NULL, NULL, NULL),
(174, 'Philippines', 'PH', NULL, NULL, NULL),
(175, 'Pitcairn', 'PN', NULL, NULL, NULL),
(176, 'Poland', 'PL', NULL, NULL, NULL),
(177, 'Portugal', 'PT', NULL, NULL, NULL),
(178, 'Puerto Rico', 'PR', NULL, NULL, NULL),
(179, 'Qatar', 'QA', NULL, NULL, NULL),
(180, 'Reunion', 'RE', NULL, NULL, NULL),
(181, 'Romania', 'RO', NULL, NULL, NULL),
(182, 'Russian Federation', 'RU', NULL, NULL, NULL),
(183, 'Rwanda', 'RW', NULL, NULL, NULL),
(184, 'Saint Kitts and Nevis', 'KN', NULL, NULL, NULL),
(185, 'Saint Lucia', 'LC', NULL, NULL, NULL),
(186, 'Saint Vincent and the Grenadines', 'VC', NULL,
NULL, NULL),
(187, 'Samoa', 'WS', NULL, NULL, NULL),
(188, 'San Marino', 'SM', NULL, NULL, NULL),
(189, 'Sao Tome and Principe', 'ST', NULL, NULL, NULL),
(190, 'Saudi Arabia', 'SA', NULL, NULL, NULL),
(191, 'Senegal', 'SN', NULL, NULL, NULL),
(192, 'Serbia', 'RS', NULL, NULL, NULL),
(193, 'Seychelles', 'SC', NULL, NULL, NULL),
(194, 'Sierra Leone', 'SL', NULL, NULL, NULL),
(195, 'Singapore', 'SG', NULL, NULL, NULL),
(196, 'Slovakia', 'SK', NULL, NULL, NULL),
(197, 'Slovenia', 'SI', NULL, NULL, NULL),
(198, 'Solomon Islands', 'SB', NULL, NULL, NULL),
(199, 'Somalia', 'SO', NULL, NULL, NULL),
(200, 'South Africa', 'ZA', NULL, NULL, NULL),
(201, 'South Georgia South Sandwich Islands', 'GS', NULL,
NULL, NULL),
(202, 'Spain', 'ES', NULL, NULL, NULL),
(203, 'Sri Lanka', 'LK', NULL, NULL, NULL),
(204, 'St. Helena', 'SH', NULL, NULL, NULL),
(205, 'St. Pierre and Miquelon', 'PM', NULL, NULL, NULL),
(206, 'Sudan', 'SD', NULL, NULL, NULL),
(207, 'Suriname', 'SR', NULL, NULL, NULL),
(208, 'Svalbard and Jan Mayen Islands', 'SJ', NULL, NULL,
NULL),
(209, 'Swaziland', 'SZ', NULL, NULL, NULL),
(210, 'Sweden', 'SE', NULL, NULL, NULL),
(211, 'Switzerland', 'CH', NULL, NULL, NULL),
(212, 'Syrian Arab Republic', 'SY', NULL, NULL, NULL),
(213, 'Taiwan', 'TW', NULL, NULL, NULL),
(214, 'Tajikistan', 'TJ', NULL, NULL, NULL),
(215, 'Tanzania, United Republic of', 'TZ', NULL, NULL,
NULL),
(216, 'Thailand', 'TH', NULL, NULL, NULL),
(217, 'Togo', 'TG', NULL, NULL, NULL),
(218, 'Tokelau', 'TK', NULL, NULL, NULL),
(219, 'Tonga', 'TO', NULL, NULL, NULL),
(220, 'Trinidad and Tobago', 'TT', NULL, NULL, NULL),
(221, 'Tunisia', 'TN', NULL, NULL, NULL),
(222, 'Turkey', 'TR', NULL, NULL, NULL),
(223, 'Turkmenistan', 'TM', NULL, NULL, NULL),
(224, 'Turks and Caicos Islands', 'TC', NULL, NULL,
NULL),
(225, 'Tuvalu', 'TV', NULL, NULL, NULL),
(226, 'Uganda', 'UG', NULL, NULL, NULL),
(227, 'Ukraine', 'UA', NULL, NULL, NULL),
(228, 'United Arab Emirates', 'AE', NULL, NULL, NULL),
(229, 'United Kingdom', 'GB', NULL, NULL, NULL),
(230, 'United States', 'US', NULL, NULL, NULL),
(231, 'United States minor outlying islands', 'UM', NULL,
NULL, NULL),
(232, 'Uruguay', 'UY', NULL, NULL, NULL),
(233, 'Uzbekistan', 'UZ', NULL, NULL, NULL),
(234, 'Vanuatu', 'VU', NULL, NULL, NULL),
(235, 'Vatican City State', 'VA', NULL, NULL, NULL),
(236, 'Venezuela', 'VE', NULL, NULL, NULL),
(237, 'Vietnam', 'VN', NULL, NULL, NULL),
(238, 'Virgin Islands (British)', 'VG', NULL, NULL,
NULL),
(239, 'Virgin Islands (U.S.)', 'VI', NULL, NULL, NULL),
(240, 'Wallis and Futuna Islands', 'WF', NULL, NULL,
NULL),
(241, 'Western Sahara', 'EH', NULL, NULL, NULL),
(242, 'Yemen', 'YE', NULL, NULL, NULL),
(243, 'Yugoslavia', 'YU', NULL, NULL, NULL),
(244, 'Zaire', 'ZR', NULL, NULL, NULL),
(245, 'Zambia', 'ZM', NULL, NULL, NULL),
(246, 'Zimbabwe', 'ZW', NULL, NULL, NULL);
Friends it take a lot of time for me to find and make
above SQL code.
I want no other friends will waste their time searching
above code in internet.
I hope this will help you to make your project.
Be buzy, be healthy.
Thank you J
No comments:
Post a Comment