-
-
Save angeldelrio/1fbf4d54cd62b30fa68c to your computer and use it in GitHub Desktop.
CREATE TABLE `paises` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) DEFAULT NULL, | |
`nombre` varchar(80) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; | |
INSERT INTO `paises` VALUES(1, 'AF', 'Afganistán'); | |
INSERT INTO `paises` VALUES(2, 'AX', 'Islas Gland'); | |
INSERT INTO `paises` VALUES(3, 'AL', 'Albania'); | |
INSERT INTO `paises` VALUES(4, 'DE', 'Alemania'); | |
INSERT INTO `paises` VALUES(5, 'AD', 'Andorra'); | |
INSERT INTO `paises` VALUES(6, 'AO', 'Angola'); | |
INSERT INTO `paises` VALUES(7, 'AI', 'Anguilla'); | |
INSERT INTO `paises` VALUES(8, 'AQ', 'Antártida'); | |
INSERT INTO `paises` VALUES(9, 'AG', 'Antigua y Barbuda'); | |
INSERT INTO `paises` VALUES(10, 'AN', 'Antillas Holandesas'); | |
INSERT INTO `paises` VALUES(11, 'SA', 'Arabia Saudí'); | |
INSERT INTO `paises` VALUES(12, 'DZ', 'Argelia'); | |
INSERT INTO `paises` VALUES(13, 'AR', 'Argentina'); | |
INSERT INTO `paises` VALUES(14, 'AM', 'Armenia'); | |
INSERT INTO `paises` VALUES(15, 'AW', 'Aruba'); | |
INSERT INTO `paises` VALUES(16, 'AU', 'Australia'); | |
INSERT INTO `paises` VALUES(17, 'AT', 'Austria'); | |
INSERT INTO `paises` VALUES(18, 'AZ', 'Azerbaiyán'); | |
INSERT INTO `paises` VALUES(19, 'BS', 'Bahamas'); | |
INSERT INTO `paises` VALUES(20, 'BH', 'Bahréin'); | |
INSERT INTO `paises` VALUES(21, 'BD', 'Bangladesh'); | |
INSERT INTO `paises` VALUES(22, 'BB', 'Barbados'); | |
INSERT INTO `paises` VALUES(23, 'BY', 'Bielorrusia'); | |
INSERT INTO `paises` VALUES(24, 'BE', 'Bélgica'); | |
INSERT INTO `paises` VALUES(25, 'BZ', 'Belice'); | |
INSERT INTO `paises` VALUES(26, 'BJ', 'Benin'); | |
INSERT INTO `paises` VALUES(27, 'BM', 'Bermudas'); | |
INSERT INTO `paises` VALUES(28, 'BT', 'Bhután'); | |
INSERT INTO `paises` VALUES(29, 'BO', 'Bolivia'); | |
INSERT INTO `paises` VALUES(30, 'BA', 'Bosnia y Herzegovina'); | |
INSERT INTO `paises` VALUES(31, 'BW', 'Botsuana'); | |
INSERT INTO `paises` VALUES(32, 'BV', 'Isla Bouvet'); | |
INSERT INTO `paises` VALUES(33, 'BR', 'Brasil'); | |
INSERT INTO `paises` VALUES(34, 'BN', 'Brunéi'); | |
INSERT INTO `paises` VALUES(35, 'BG', 'Bulgaria'); | |
INSERT INTO `paises` VALUES(36, 'BF', 'Burkina Faso'); | |
INSERT INTO `paises` VALUES(37, 'BI', 'Burundi'); | |
INSERT INTO `paises` VALUES(38, 'CV', 'Cabo Verde'); | |
INSERT INTO `paises` VALUES(39, 'KY', 'Islas Caimán'); | |
INSERT INTO `paises` VALUES(40, 'KH', 'Camboya'); | |
INSERT INTO `paises` VALUES(41, 'CM', 'Camerún'); | |
INSERT INTO `paises` VALUES(42, 'CA', 'Canadá'); | |
INSERT INTO `paises` VALUES(43, 'CF', 'República Centroafricana'); | |
INSERT INTO `paises` VALUES(44, 'TD', 'Chad'); | |
INSERT INTO `paises` VALUES(45, 'CZ', 'República Checa'); | |
INSERT INTO `paises` VALUES(46, 'CL', 'Chile'); | |
INSERT INTO `paises` VALUES(47, 'CN', 'China'); | |
INSERT INTO `paises` VALUES(48, 'CY', 'Chipre'); | |
INSERT INTO `paises` VALUES(49, 'CX', 'Isla de Navidad'); | |
INSERT INTO `paises` VALUES(50, 'VA', 'Ciudad del Vaticano'); | |
INSERT INTO `paises` VALUES(51, 'CC', 'Islas Cocos'); | |
INSERT INTO `paises` VALUES(52, 'CO', 'Colombia'); | |
INSERT INTO `paises` VALUES(53, 'KM', 'Comoras'); | |
INSERT INTO `paises` VALUES(54, 'CD', 'República Democrática del Congo'); | |
INSERT INTO `paises` VALUES(55, 'CG', 'Congo'); | |
INSERT INTO `paises` VALUES(56, 'CK', 'Islas Cook'); | |
INSERT INTO `paises` VALUES(57, 'KP', 'Corea del Norte'); | |
INSERT INTO `paises` VALUES(58, 'KR', 'Corea del Sur'); | |
INSERT INTO `paises` VALUES(59, 'CI', 'Costa de Marfil'); | |
INSERT INTO `paises` VALUES(60, 'CR', 'Costa Rica'); | |
INSERT INTO `paises` VALUES(61, 'HR', 'Croacia'); | |
INSERT INTO `paises` VALUES(62, 'CU', 'Cuba'); | |
INSERT INTO `paises` VALUES(63, 'DK', 'Dinamarca'); | |
INSERT INTO `paises` VALUES(64, 'DM', 'Dominica'); | |
INSERT INTO `paises` VALUES(65, 'DO', 'República Dominicana'); | |
INSERT INTO `paises` VALUES(66, 'EC', 'Ecuador'); | |
INSERT INTO `paises` VALUES(67, 'EG', 'Egipto'); | |
INSERT INTO `paises` VALUES(68, 'SV', 'El Salvador'); | |
INSERT INTO `paises` VALUES(69, 'AE', 'Emiratos Árabes Unidos'); | |
INSERT INTO `paises` VALUES(70, 'ER', 'Eritrea'); | |
INSERT INTO `paises` VALUES(71, 'SK', 'Eslovaquia'); | |
INSERT INTO `paises` VALUES(72, 'SI', 'Eslovenia'); | |
INSERT INTO `paises` VALUES(73, 'ES', 'España'); | |
INSERT INTO `paises` VALUES(74, 'UM', 'Islas ultramarinas de Estados Unidos'); | |
INSERT INTO `paises` VALUES(75, 'US', 'Estados Unidos'); | |
INSERT INTO `paises` VALUES(76, 'EE', 'Estonia'); | |
INSERT INTO `paises` VALUES(77, 'ET', 'Etiopía'); | |
INSERT INTO `paises` VALUES(78, 'FO', 'Islas Feroe'); | |
INSERT INTO `paises` VALUES(79, 'PH', 'Filipinas'); | |
INSERT INTO `paises` VALUES(80, 'FI', 'Finlandia'); | |
INSERT INTO `paises` VALUES(81, 'FJ', 'Fiyi'); | |
INSERT INTO `paises` VALUES(82, 'FR', 'Francia'); | |
INSERT INTO `paises` VALUES(83, 'GA', 'Gabón'); | |
INSERT INTO `paises` VALUES(84, 'GM', 'Gambia'); | |
INSERT INTO `paises` VALUES(85, 'GE', 'Georgia'); | |
INSERT INTO `paises` VALUES(86, 'GS', 'Islas Georgias del Sur y Sandwich del Sur'); | |
INSERT INTO `paises` VALUES(87, 'GH', 'Ghana'); | |
INSERT INTO `paises` VALUES(88, 'GI', 'Gibraltar'); | |
INSERT INTO `paises` VALUES(89, 'GD', 'Granada'); | |
INSERT INTO `paises` VALUES(90, 'GR', 'Grecia'); | |
INSERT INTO `paises` VALUES(91, 'GL', 'Groenlandia'); | |
INSERT INTO `paises` VALUES(92, 'GP', 'Guadalupe'); | |
INSERT INTO `paises` VALUES(93, 'GU', 'Guam'); | |
INSERT INTO `paises` VALUES(94, 'GT', 'Guatemala'); | |
INSERT INTO `paises` VALUES(95, 'GF', 'Guayana Francesa'); | |
INSERT INTO `paises` VALUES(96, 'GN', 'Guinea'); | |
INSERT INTO `paises` VALUES(97, 'GQ', 'Guinea Ecuatorial'); | |
INSERT INTO `paises` VALUES(98, 'GW', 'Guinea-Bissau'); | |
INSERT INTO `paises` VALUES(99, 'GY', 'Guyana'); | |
INSERT INTO `paises` VALUES(100, 'HT', 'Haití'); | |
INSERT INTO `paises` VALUES(101, 'HM', 'Islas Heard y McDonald'); | |
INSERT INTO `paises` VALUES(102, 'HN', 'Honduras'); | |
INSERT INTO `paises` VALUES(103, 'HK', 'Hong Kong'); | |
INSERT INTO `paises` VALUES(104, 'HU', 'Hungría'); | |
INSERT INTO `paises` VALUES(105, 'IN', 'India'); | |
INSERT INTO `paises` VALUES(106, 'ID', 'Indonesia'); | |
INSERT INTO `paises` VALUES(107, 'IR', 'Irán'); | |
INSERT INTO `paises` VALUES(108, 'IQ', 'Iraq'); | |
INSERT INTO `paises` VALUES(109, 'IE', 'Irlanda'); | |
INSERT INTO `paises` VALUES(110, 'IS', 'Islandia'); | |
INSERT INTO `paises` VALUES(111, 'IL', 'Israel'); | |
INSERT INTO `paises` VALUES(112, 'IT', 'Italia'); | |
INSERT INTO `paises` VALUES(113, 'JM', 'Jamaica'); | |
INSERT INTO `paises` VALUES(114, 'JP', 'Japón'); | |
INSERT INTO `paises` VALUES(115, 'JO', 'Jordania'); | |
INSERT INTO `paises` VALUES(116, 'KZ', 'Kazajstán'); | |
INSERT INTO `paises` VALUES(117, 'KE', 'Kenia'); | |
INSERT INTO `paises` VALUES(118, 'KG', 'Kirguistán'); | |
INSERT INTO `paises` VALUES(119, 'KI', 'Kiribati'); | |
INSERT INTO `paises` VALUES(120, 'KW', 'Kuwait'); | |
INSERT INTO `paises` VALUES(121, 'LA', 'Laos'); | |
INSERT INTO `paises` VALUES(122, 'LS', 'Lesotho'); | |
INSERT INTO `paises` VALUES(123, 'LV', 'Letonia'); | |
INSERT INTO `paises` VALUES(124, 'LB', 'Líbano'); | |
INSERT INTO `paises` VALUES(125, 'LR', 'Liberia'); | |
INSERT INTO `paises` VALUES(126, 'LY', 'Libia'); | |
INSERT INTO `paises` VALUES(127, 'LI', 'Liechtenstein'); | |
INSERT INTO `paises` VALUES(128, 'LT', 'Lituania'); | |
INSERT INTO `paises` VALUES(129, 'LU', 'Luxemburgo'); | |
INSERT INTO `paises` VALUES(130, 'MO', 'Macao'); | |
INSERT INTO `paises` VALUES(131, 'MK', 'ARY Macedonia'); | |
INSERT INTO `paises` VALUES(132, 'MG', 'Madagascar'); | |
INSERT INTO `paises` VALUES(133, 'MY', 'Malasia'); | |
INSERT INTO `paises` VALUES(134, 'MW', 'Malawi'); | |
INSERT INTO `paises` VALUES(135, 'MV', 'Maldivas'); | |
INSERT INTO `paises` VALUES(136, 'ML', 'Malí'); | |
INSERT INTO `paises` VALUES(137, 'MT', 'Malta'); | |
INSERT INTO `paises` VALUES(138, 'FK', 'Islas Malvinas'); | |
INSERT INTO `paises` VALUES(139, 'MP', 'Islas Marianas del Norte'); | |
INSERT INTO `paises` VALUES(140, 'MA', 'Marruecos'); | |
INSERT INTO `paises` VALUES(141, 'MH', 'Islas Marshall'); | |
INSERT INTO `paises` VALUES(142, 'MQ', 'Martinica'); | |
INSERT INTO `paises` VALUES(143, 'MU', 'Mauricio'); | |
INSERT INTO `paises` VALUES(144, 'MR', 'Mauritania'); | |
INSERT INTO `paises` VALUES(145, 'YT', 'Mayotte'); | |
INSERT INTO `paises` VALUES(146, 'MX', 'México'); | |
INSERT INTO `paises` VALUES(147, 'FM', 'Micronesia'); | |
INSERT INTO `paises` VALUES(148, 'MD', 'Moldavia'); | |
INSERT INTO `paises` VALUES(149, 'MC', 'Mónaco'); | |
INSERT INTO `paises` VALUES(150, 'MN', 'Mongolia'); | |
INSERT INTO `paises` VALUES(151, 'MS', 'Montserrat'); | |
INSERT INTO `paises` VALUES(152, 'MZ', 'Mozambique'); | |
INSERT INTO `paises` VALUES(153, 'MM', 'Myanmar'); | |
INSERT INTO `paises` VALUES(154, 'NA', 'Namibia'); | |
INSERT INTO `paises` VALUES(155, 'NR', 'Nauru'); | |
INSERT INTO `paises` VALUES(156, 'NP', 'Nepal'); | |
INSERT INTO `paises` VALUES(157, 'NI', 'Nicaragua'); | |
INSERT INTO `paises` VALUES(158, 'NE', 'Níger'); | |
INSERT INTO `paises` VALUES(159, 'NG', 'Nigeria'); | |
INSERT INTO `paises` VALUES(160, 'NU', 'Niue'); | |
INSERT INTO `paises` VALUES(161, 'NF', 'Isla Norfolk'); | |
INSERT INTO `paises` VALUES(162, 'NO', 'Noruega'); | |
INSERT INTO `paises` VALUES(163, 'NC', 'Nueva Caledonia'); | |
INSERT INTO `paises` VALUES(164, 'NZ', 'Nueva Zelanda'); | |
INSERT INTO `paises` VALUES(165, 'OM', 'Omán'); | |
INSERT INTO `paises` VALUES(166, 'NL', 'Países Bajos'); | |
INSERT INTO `paises` VALUES(167, 'PK', 'Pakistán'); | |
INSERT INTO `paises` VALUES(168, 'PW', 'Palau'); | |
INSERT INTO `paises` VALUES(169, 'PS', 'Palestina'); | |
INSERT INTO `paises` VALUES(170, 'PA', 'Panamá'); | |
INSERT INTO `paises` VALUES(171, 'PG', 'Papúa Nueva Guinea'); | |
INSERT INTO `paises` VALUES(172, 'PY', 'Paraguay'); | |
INSERT INTO `paises` VALUES(173, 'PE', 'Perú'); | |
INSERT INTO `paises` VALUES(174, 'PN', 'Islas Pitcairn'); | |
INSERT INTO `paises` VALUES(175, 'PF', 'Polinesia Francesa'); | |
INSERT INTO `paises` VALUES(176, 'PL', 'Polonia'); | |
INSERT INTO `paises` VALUES(177, 'PT', 'Portugal'); | |
INSERT INTO `paises` VALUES(178, 'PR', 'Puerto Rico'); | |
INSERT INTO `paises` VALUES(179, 'QA', 'Qatar'); | |
INSERT INTO `paises` VALUES(180, 'GB', 'Reino Unido'); | |
INSERT INTO `paises` VALUES(181, 'RE', 'Reunión'); | |
INSERT INTO `paises` VALUES(182, 'RW', 'Ruanda'); | |
INSERT INTO `paises` VALUES(183, 'RO', 'Rumania'); | |
INSERT INTO `paises` VALUES(184, 'RU', 'Rusia'); | |
INSERT INTO `paises` VALUES(185, 'EH', 'Sahara Occidental'); | |
INSERT INTO `paises` VALUES(186, 'SB', 'Islas Salomón'); | |
INSERT INTO `paises` VALUES(187, 'WS', 'Samoa'); | |
INSERT INTO `paises` VALUES(188, 'AS', 'Samoa Americana'); | |
INSERT INTO `paises` VALUES(189, 'KN', 'San Cristóbal y Nevis'); | |
INSERT INTO `paises` VALUES(190, 'SM', 'San Marino'); | |
INSERT INTO `paises` VALUES(191, 'PM', 'San Pedro y Miquelón'); | |
INSERT INTO `paises` VALUES(192, 'VC', 'San Vicente y las Granadinas'); | |
INSERT INTO `paises` VALUES(193, 'SH', 'Santa Helena'); | |
INSERT INTO `paises` VALUES(194, 'LC', 'Santa Lucía'); | |
INSERT INTO `paises` VALUES(195, 'ST', 'Santo Tomé y Príncipe'); | |
INSERT INTO `paises` VALUES(196, 'SN', 'Senegal'); | |
INSERT INTO `paises` VALUES(197, 'CS', 'Serbia y Montenegro'); | |
INSERT INTO `paises` VALUES(198, 'SC', 'Seychelles'); | |
INSERT INTO `paises` VALUES(199, 'SL', 'Sierra Leona'); | |
INSERT INTO `paises` VALUES(200, 'SG', 'Singapur'); | |
INSERT INTO `paises` VALUES(201, 'SY', 'Siria'); | |
INSERT INTO `paises` VALUES(202, 'SO', 'Somalia'); | |
INSERT INTO `paises` VALUES(203, 'LK', 'Sri Lanka'); | |
INSERT INTO `paises` VALUES(204, 'SZ', 'Suazilandia'); | |
INSERT INTO `paises` VALUES(205, 'ZA', 'Sudáfrica'); | |
INSERT INTO `paises` VALUES(206, 'SD', 'Sudán'); | |
INSERT INTO `paises` VALUES(207, 'SE', 'Suecia'); | |
INSERT INTO `paises` VALUES(208, 'CH', 'Suiza'); | |
INSERT INTO `paises` VALUES(209, 'SR', 'Surinam'); | |
INSERT INTO `paises` VALUES(210, 'SJ', 'Svalbard y Jan Mayen'); | |
INSERT INTO `paises` VALUES(211, 'TH', 'Tailandia'); | |
INSERT INTO `paises` VALUES(212, 'TW', 'Taiwán'); | |
INSERT INTO `paises` VALUES(213, 'TZ', 'Tanzania'); | |
INSERT INTO `paises` VALUES(214, 'TJ', 'Tayikistán'); | |
INSERT INTO `paises` VALUES(215, 'IO', 'Territorio Británico del Océano Índico'); | |
INSERT INTO `paises` VALUES(216, 'TF', 'Territorios Australes Franceses'); | |
INSERT INTO `paises` VALUES(217, 'TL', 'Timor Oriental'); | |
INSERT INTO `paises` VALUES(218, 'TG', 'Togo'); | |
INSERT INTO `paises` VALUES(219, 'TK', 'Tokelau'); | |
INSERT INTO `paises` VALUES(220, 'TO', 'Tonga'); | |
INSERT INTO `paises` VALUES(221, 'TT', 'Trinidad y Tobago'); | |
INSERT INTO `paises` VALUES(222, 'TN', 'Túnez'); | |
INSERT INTO `paises` VALUES(223, 'TC', 'Islas Turcas y Caicos'); | |
INSERT INTO `paises` VALUES(224, 'TM', 'Turkmenistán'); | |
INSERT INTO `paises` VALUES(225, 'TR', 'Turquía'); | |
INSERT INTO `paises` VALUES(226, 'TV', 'Tuvalu'); | |
INSERT INTO `paises` VALUES(227, 'UA', 'Ucrania'); | |
INSERT INTO `paises` VALUES(228, 'UG', 'Uganda'); | |
INSERT INTO `paises` VALUES(229, 'UY', 'Uruguay'); | |
INSERT INTO `paises` VALUES(230, 'UZ', 'Uzbekistán'); | |
INSERT INTO `paises` VALUES(231, 'VU', 'Vanuatu'); | |
INSERT INTO `paises` VALUES(232, 'VE', 'Venezuela'); | |
INSERT INTO `paises` VALUES(233, 'VN', 'Vietnam'); | |
INSERT INTO `paises` VALUES(234, 'VG', 'Islas Vírgenes Británicas'); | |
INSERT INTO `paises` VALUES(235, 'VI', 'Islas Vírgenes de los Estados Unidos'); | |
INSERT INTO `paises` VALUES(236, 'WF', 'Wallis y Futuna'); | |
INSERT INTO `paises` VALUES(237, 'YE', 'Yemen'); | |
INSERT INTO `paises` VALUES(238, 'DJ', 'Yibuti'); | |
INSERT INTO `paises` VALUES(239, 'ZM', 'Zambia'); | |
INSERT INTO `paises` VALUES(240, 'ZW', 'Zimbabue'); |
$mexico_id = 146;
$mexicoEstados = [
[
'name' => 'Aguascalientes',
'country_id' => $mexico_id
],
[
'name' => 'Baja California',
'country_id' => $mexico_id
],
[
'name' => 'Baja California Sur',
'country_id' => $mexico_id
],
[
'name' => 'Campeche',
'country_id' => $mexico_id
],
[
'name' => 'Coahuila de Zaragoza',
'country_id' => $mexico_id
],
[
'name' => 'Colima',
'country_id' => $mexico_id
],
[
'name' => 'Chiapas',
'country_id' => $mexico_id
],
[
'name' => 'Chihuahua',
'country_id' => $mexico_id
],
[
'name' => 'Distrito Federal',
'country_id' => $mexico_id
],
[
'name' => 'Durango',
'country_id' => $mexico_id
],
[
'name' => 'Guanajuato',
'country_id' => $mexico_id
],
[
'name' => 'Guerrero',
'country_id' => $mexico_id
],
[
'name' => 'Hidalgo',
'country_id' => $mexico_id
],
[
'name' => 'Jalisco',
'country_id' => $mexico_id
],
[
'name' => 'México',
'country_id' => $mexico_id
],
[
'name' => 'Michoacán de Ocampo',
'country_id' => $mexico_id
],
[
'name' => 'Morelos',
'country_id' => $mexico_id
],
[
'name' => 'Nayarit',
'country_id' => $mexico_id
],
[
'name' => 'Nuevo León',
'country_id' => $mexico_id
],
[
'name' => 'Oaxaca de Juárez',
'country_id' => $mexico_id
],
[
'name' => 'Puebla',
'country_id' => $mexico_id
],
[
'name' => 'Querétaro',
'country_id' => $mexico_id
],
[
'name' => 'Qana Roo',
'country_id' => $mexico_id
],
[
'name' => 'San Luis Potosí',
'country_id' => $mexico_id
],
[
'name' => 'Sinaloa',
'country_id' => $mexico_id
],
[
'name' => 'Sonora',
'country_id' => $mexico_id
],
[
'name' => 'Tabasco',
'country_id' => $mexico_id
],
[
'name' => 'Tamaulipas',
'country_id' => $mexico_id
],
[
'name' => 'Tlaxcala',
'country_id' => $mexico_id
],
[
'name' => 'Veracruz de Ignacio de la Llave',
'country_id' => $mexico_id
],
[
'name' => 'Yucatán',
'country_id' => $mexico_id
],
[
'name' => 'Zacatecas',
'country_id' => $mexico_id
]
];
Thanks you
Muchas gracias!!
Muchas gracias!!
Graciaaas
Tanto tiempo ahorrado, muchas gracias :D !!
This is a total countries? oh! wow, thanks for sharing!
muchas gracias es de mucha ayuda
Gracias!!
gracias!!
Python - SQLAlchemy:
from sqlalchemy import CHAR, Column, Integer, String, event, DDL
from .db import Base
class Paises(Base):
__tablename__="pais"
__table_args__= {'schema': 'public'}
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
iso = Column(CHAR(2), unique=True)
nombre = Column(String, nullable=False)
event.listen(Paises.__table__, 'after_create',
DDL("""
INSERT INTO pais (id, iso, nombre) VALUES (1, 'AF', 'Afganistán');
INSERT INTO pais (id, iso, nombre) VALUES (2, 'AX', 'Islas Gland');
INSERT INTO pais (id, iso, nombre) VALUES (3, 'AL', 'Albania');
INSERT INTO pais (id, iso, nombre) VALUES (4, 'DE', 'Alemania');
INSERT INTO pais (id, iso, nombre) VALUES (5, 'AD', 'Andorra');
INSERT INTO pais (id, iso, nombre) VALUES (6, 'AO', 'Angola');
INSERT INTO pais (id, iso, nombre) VALUES (7, 'AI', 'Anguilla');
INSERT INTO pais (id, iso, nombre) VALUES (8, 'AQ', 'Antártida');
INSERT INTO pais (id, iso, nombre) VALUES (9, 'AG', 'Antigua y Barbuda');
INSERT INTO pais (id, iso, nombre) VALUES (10, 'AN', 'Antillas Holandesas');
INSERT INTO pais (id, iso, nombre) VALUES (11, 'SA', 'Arabia Saudí');
INSERT INTO pais (id, iso, nombre) VALUES (12, 'DZ', 'Argelia');
INSERT INTO pais (id, iso, nombre) VALUES (13, 'AR', 'Argentina');
INSERT INTO pais (id, iso, nombre) VALUES (14, 'AM', 'Armenia');
INSERT INTO pais (id, iso, nombre) VALUES (15, 'AW', 'Aruba');
INSERT INTO pais (id, iso, nombre) VALUES (16, 'AU', 'Australia');
INSERT INTO pais (id, iso, nombre) VALUES (17, 'AT', 'Austria');
INSERT INTO pais (id, iso, nombre) VALUES (18, 'AZ', 'Azerbaiyán');
INSERT INTO pais (id, iso, nombre) VALUES (19, 'BS', 'Bahamas');
INSERT INTO pais (id, iso, nombre) VALUES (20, 'BH', 'Bahréin');
INSERT INTO pais (id, iso, nombre) VALUES (21, 'BD', 'Bangladesh');
INSERT INTO pais (id, iso, nombre) VALUES (22, 'BB', 'Barbados');
INSERT INTO pais (id, iso, nombre) VALUES (23, 'BY', 'Bielorrusia');
INSERT INTO pais (id, iso, nombre) VALUES (24, 'BE', 'Bélgica');
INSERT INTO pais (id, iso, nombre) VALUES (25, 'BZ', 'Belice');
INSERT INTO pais (id, iso, nombre) VALUES (26, 'BJ', 'Benin');
INSERT INTO pais (id, iso, nombre) VALUES (27, 'BM', 'Bermudas');
INSERT INTO pais (id, iso, nombre) VALUES (28, 'BT', 'Bhután');
INSERT INTO pais (id, iso, nombre) VALUES (29, 'BO', 'Bolivia');
INSERT INTO pais (id, iso, nombre) VALUES (30, 'BA', 'Bosnia y Herzegovina');
INSERT INTO pais (id, iso, nombre) VALUES (31, 'BW', 'Botsuana');
INSERT INTO pais (id, iso, nombre) VALUES (32, 'BV', 'Isla Bouvet');
INSERT INTO pais (id, iso, nombre) VALUES (33, 'BR', 'Brasil');
INSERT INTO pais (id, iso, nombre) VALUES (34, 'BN', 'Brunéi');
INSERT INTO pais (id, iso, nombre) VALUES (35, 'BG', 'Bulgaria');
INSERT INTO pais (id, iso, nombre) VALUES (36, 'BF', 'Burkina Faso');
INSERT INTO pais (id, iso, nombre) VALUES (37, 'BI', 'Burundi');
INSERT INTO pais (id, iso, nombre) VALUES (38, 'CV', 'Cabo Verde');
INSERT INTO pais (id, iso, nombre) VALUES (39, 'KY', 'Islas Caimán');
INSERT INTO pais (id, iso, nombre) VALUES (40, 'KH', 'Camboya');
INSERT INTO pais (id, iso, nombre) VALUES (41, 'CM', 'Camerún');
INSERT INTO pais (id, iso, nombre) VALUES (42, 'CA', 'Canadá');
INSERT INTO pais (id, iso, nombre) VALUES (43, 'CF', 'República Centroafricana');
INSERT INTO pais (id, iso, nombre) VALUES (44, 'TD', 'Chad');
INSERT INTO pais (id, iso, nombre) VALUES (45, 'CZ', 'República Checa');
INSERT INTO pais (id, iso, nombre) VALUES (46, 'CL', 'Chile');
INSERT INTO pais (id, iso, nombre) VALUES (47, 'CN', 'China');
INSERT INTO pais (id, iso, nombre) VALUES (48, 'CY', 'Chipre');
INSERT INTO pais (id, iso, nombre) VALUES (49, 'CX', 'Isla de Navidad');
INSERT INTO pais (id, iso, nombre) VALUES (50, 'VA', 'Ciudad del Vaticano');
INSERT INTO pais (id, iso, nombre) VALUES (51, 'CC', 'Islas Cocos');
INSERT INTO pais (id, iso, nombre) VALUES (52, 'CO', 'Colombia');
INSERT INTO pais (id, iso, nombre) VALUES (53, 'KM', 'Comoras');
INSERT INTO pais (id, iso, nombre) VALUES (54, 'CD', 'República Democrática del Congo');
INSERT INTO pais (id, iso, nombre) VALUES (55, 'CG', 'Congo');
INSERT INTO pais (id, iso, nombre) VALUES (56, 'CK', 'Islas Cook');
INSERT INTO pais (id, iso, nombre) VALUES (57, 'KP', 'Corea del Norte');
INSERT INTO pais (id, iso, nombre) VALUES (58, 'KR', 'Corea del Sur');
INSERT INTO pais (id, iso, nombre) VALUES (59, 'CI', 'Costa de Marfil');
INSERT INTO pais (id, iso, nombre) VALUES (60, 'CR', 'Costa Rica');
INSERT INTO pais (id, iso, nombre) VALUES (61, 'HR', 'Croacia');
INSERT INTO pais (id, iso, nombre) VALUES (62, 'CU', 'Cuba');
INSERT INTO pais (id, iso, nombre) VALUES (63, 'DK', 'Dinamarca');
INSERT INTO pais (id, iso, nombre) VALUES (64, 'DM', 'Dominica');
INSERT INTO pais (id, iso, nombre) VALUES (65, 'DO', 'República Dominicana');
INSERT INTO pais (id, iso, nombre) VALUES (66, 'EC', 'Ecuador');
INSERT INTO pais (id, iso, nombre) VALUES (67, 'EG', 'Egipto');
INSERT INTO pais (id, iso, nombre) VALUES (68, 'SV', 'El Salvador');
INSERT INTO pais (id, iso, nombre) VALUES (69, 'AE', 'Emiratos Árabes Unidos');
INSERT INTO pais (id, iso, nombre) VALUES (70, 'ER', 'Eritrea');
INSERT INTO pais (id, iso, nombre) VALUES (71, 'SK', 'Eslovaquia');
INSERT INTO pais (id, iso, nombre) VALUES (72, 'SI', 'Eslovenia');
INSERT INTO pais (id, iso, nombre) VALUES (73, 'ES', 'España');
INSERT INTO pais (id, iso, nombre) VALUES (74, 'UM', 'Islas ultramarinas de Estados Unidos');
INSERT INTO pais (id, iso, nombre) VALUES (75, 'US', 'Estados Unidos');
INSERT INTO pais (id, iso, nombre) VALUES (76, 'EE', 'Estonia');
INSERT INTO pais (id, iso, nombre) VALUES (77, 'ET', 'Etiopía');
INSERT INTO pais (id, iso, nombre) VALUES (78, 'FO', 'Islas Feroe');
INSERT INTO pais (id, iso, nombre) VALUES (79, 'PH', 'Filipinas');
INSERT INTO pais (id, iso, nombre) VALUES (80, 'FI', 'Finlandia');
INSERT INTO pais (id, iso, nombre) VALUES (81, 'FJ', 'Fiyi');
INSERT INTO pais (id, iso, nombre) VALUES (82, 'FR', 'Francia');
INSERT INTO pais (id, iso, nombre) VALUES (83, 'GA', 'Gabón');
INSERT INTO pais (id, iso, nombre) VALUES (84, 'GM', 'Gambia');
INSERT INTO pais (id, iso, nombre) VALUES (85, 'GE', 'Georgia');
INSERT INTO pais (id, iso, nombre) VALUES (86, 'GS', 'Islas Georgias del Sur y Sandwich del Sur');
INSERT INTO pais (id, iso, nombre) VALUES (87, 'GH', 'Ghana');
INSERT INTO pais (id, iso, nombre) VALUES (88, 'GI', 'Gibraltar');
INSERT INTO pais (id, iso, nombre) VALUES (89, 'GD', 'Granada');
INSERT INTO pais (id, iso, nombre) VALUES (90, 'GR', 'Grecia');
INSERT INTO pais (id, iso, nombre) VALUES (91, 'GL', 'Groenlandia');
INSERT INTO pais (id, iso, nombre) VALUES (92, 'GP', 'Guadalupe');
INSERT INTO pais (id, iso, nombre) VALUES (93, 'GU', 'Guam');
INSERT INTO pais (id, iso, nombre) VALUES (94, 'GT', 'Guatemala');
INSERT INTO pais (id, iso, nombre) VALUES (95, 'GF', 'Guayana Francesa');
INSERT INTO pais (id, iso, nombre) VALUES (96, 'GN', 'Guinea');
INSERT INTO pais (id, iso, nombre) VALUES (97, 'GQ', 'Guinea Ecuatorial');
INSERT INTO pais (id, iso, nombre) VALUES (98, 'GW', 'Guinea-Bissau');
INSERT INTO pais (id, iso, nombre) VALUES (99, 'GY', 'Guyana');
INSERT INTO pais (id, iso, nombre) VALUES (100, 'HT', 'Haití');
INSERT INTO pais (id, iso, nombre) VALUES (101, 'HM', 'Islas Heard y McDonald');
INSERT INTO pais (id, iso, nombre) VALUES (102, 'HN', 'Honduras');
INSERT INTO pais (id, iso, nombre) VALUES (103, 'HK', 'Hong Kong');
INSERT INTO pais (id, iso, nombre) VALUES (104, 'HU', 'Hungría');
INSERT INTO pais (id, iso, nombre) VALUES (105, 'IN', 'India');
INSERT INTO pais (id, iso, nombre) VALUES (106, 'ID', 'Indonesia');
INSERT INTO pais (id, iso, nombre) VALUES (107, 'IR', 'Irán');
INSERT INTO pais (id, iso, nombre) VALUES (108, 'IQ', 'Iraq');
INSERT INTO pais (id, iso, nombre) VALUES (109, 'IE', 'Irlanda');
INSERT INTO pais (id, iso, nombre) VALUES (110, 'IS', 'Islandia');
INSERT INTO pais (id, iso, nombre) VALUES (111, 'IL', 'Israel');
INSERT INTO pais (id, iso, nombre) VALUES (112, 'IT', 'Italia');
INSERT INTO pais (id, iso, nombre) VALUES (113, 'JM', 'Jamaica');
INSERT INTO pais (id, iso, nombre) VALUES (114, 'JP', 'Japón');
INSERT INTO pais (id, iso, nombre) VALUES (115, 'JO', 'Jordania');
INSERT INTO pais (id, iso, nombre) VALUES (116, 'KZ', 'Kazajstán');
INSERT INTO pais (id, iso, nombre) VALUES (117, 'KE', 'Kenia');
INSERT INTO pais (id, iso, nombre) VALUES (118, 'KG', 'Kirguistán');
INSERT INTO pais (id, iso, nombre) VALUES (119, 'KI', 'Kiribati');
INSERT INTO pais (id, iso, nombre) VALUES (120, 'KW', 'Kuwait');
INSERT INTO pais (id, iso, nombre) VALUES (121, 'LA', 'Laos');
INSERT INTO pais (id, iso, nombre) VALUES (122, 'LS', 'Lesotho');
INSERT INTO pais (id, iso, nombre) VALUES (123, 'LV', 'Letonia');
INSERT INTO pais (id, iso, nombre) VALUES (124, 'LB', 'Líbano');
INSERT INTO pais (id, iso, nombre) VALUES (125, 'LR', 'Liberia');
INSERT INTO pais (id, iso, nombre) VALUES (126, 'LY', 'Libia');
INSERT INTO pais (id, iso, nombre) VALUES (127, 'LI', 'Liechtenstein');
INSERT INTO pais (id, iso, nombre) VALUES (128, 'LT', 'Lituania');
INSERT INTO pais (id, iso, nombre) VALUES (129, 'LU', 'Luxemburgo');
INSERT INTO pais (id, iso, nombre) VALUES (130, 'MO', 'Macao');
INSERT INTO pais (id, iso, nombre) VALUES (131, 'MK', 'ARY Macedonia');
INSERT INTO pais (id, iso, nombre) VALUES (132, 'MG', 'Madagascar');
INSERT INTO pais (id, iso, nombre) VALUES (133, 'MY', 'Malasia');
INSERT INTO pais (id, iso, nombre) VALUES (134, 'MW', 'Malawi');
INSERT INTO pais (id, iso, nombre) VALUES (135, 'MV', 'Maldivas');
INSERT INTO pais (id, iso, nombre) VALUES (136, 'ML', 'Malí');
INSERT INTO pais (id, iso, nombre) VALUES (137, 'MT', 'Malta');
INSERT INTO pais (id, iso, nombre) VALUES (138, 'FK', 'Islas Malvinas');
INSERT INTO pais (id, iso, nombre) VALUES (139, 'MP', 'Islas Marianas del Norte');
INSERT INTO pais (id, iso, nombre) VALUES (140, 'MA', 'Marruecos');
INSERT INTO pais (id, iso, nombre) VALUES (141, 'MH', 'Islas Marshall');
INSERT INTO pais (id, iso, nombre) VALUES (142, 'MQ', 'Martinica');
INSERT INTO pais (id, iso, nombre) VALUES (143, 'MU', 'Mauricio');
INSERT INTO pais (id, iso, nombre) VALUES (144, 'MR', 'Mauritania');
INSERT INTO pais (id, iso, nombre) VALUES (145, 'YT', 'Mayotte');
INSERT INTO pais (id, iso, nombre) VALUES (146, 'MX', 'México');
INSERT INTO pais (id, iso, nombre) VALUES (147, 'FM', 'Micronesia');
INSERT INTO pais (id, iso, nombre) VALUES (148, 'MD', 'Moldavia');
INSERT INTO pais (id, iso, nombre) VALUES (149, 'MC', 'Mónaco');
INSERT INTO pais (id, iso, nombre) VALUES (150, 'MN', 'Mongolia');
INSERT INTO pais (id, iso, nombre) VALUES (151, 'MS', 'Montserrat');
INSERT INTO pais (id, iso, nombre) VALUES (152, 'MZ', 'Mozambique');
INSERT INTO pais (id, iso, nombre) VALUES (153, 'MM', 'Myanmar');
INSERT INTO pais (id, iso, nombre) VALUES (154, 'NA', 'Namibia');
INSERT INTO pais (id, iso, nombre) VALUES (155, 'NR', 'Nauru');
INSERT INTO pais (id, iso, nombre) VALUES (156, 'NP', 'Nepal');
INSERT INTO pais (id, iso, nombre) VALUES (157, 'NI', 'Nicaragua');
INSERT INTO pais (id, iso, nombre) VALUES (158, 'NE', 'Níger');
INSERT INTO pais (id, iso, nombre) VALUES (159, 'NG', 'Nigeria');
INSERT INTO pais (id, iso, nombre) VALUES (160, 'NU', 'Niue');
INSERT INTO pais (id, iso, nombre) VALUES (161, 'NF', 'Isla Norfolk');
INSERT INTO pais (id, iso, nombre) VALUES (162, 'NO', 'Noruega');
INSERT INTO pais (id, iso, nombre) VALUES (163, 'NC', 'Nueva Caledonia');
INSERT INTO pais (id, iso, nombre) VALUES (164, 'NZ', 'Nueva Zelanda');
INSERT INTO pais (id, iso, nombre) VALUES (165, 'OM', 'Omán');
INSERT INTO pais (id, iso, nombre) VALUES (166, 'NL', 'Países Bajos');
INSERT INTO pais (id, iso, nombre) VALUES (167, 'PK', 'Pakistán');
INSERT INTO pais (id, iso, nombre) VALUES (168, 'PW', 'Palau');
INSERT INTO pais (id, iso, nombre) VALUES (169, 'PS', 'Palestina');
INSERT INTO pais (id, iso, nombre) VALUES (170, 'PA', 'Panamá');
INSERT INTO pais (id, iso, nombre) VALUES (171, 'PG', 'Papúa Nueva Guinea');
INSERT INTO pais (id, iso, nombre) VALUES (172, 'PY', 'Paraguay');
INSERT INTO pais (id, iso, nombre) VALUES (173, 'PE', 'Perú');
INSERT INTO pais (id, iso, nombre) VALUES (174, 'PN', 'Islas Pitcairn');
INSERT INTO pais (id, iso, nombre) VALUES (175, 'PF', 'Polinesia Francesa');
INSERT INTO pais (id, iso, nombre) VALUES (176, 'PL', 'Polonia');
INSERT INTO pais (id, iso, nombre) VALUES (177, 'PT', 'Portugal');
INSERT INTO pais (id, iso, nombre) VALUES (178, 'PR', 'Puerto Rico');
INSERT INTO pais (id, iso, nombre) VALUES (179, 'QA', 'Qatar');
INSERT INTO pais (id, iso, nombre) VALUES (180, 'GB', 'Reino Unido');
INSERT INTO pais (id, iso, nombre) VALUES (181, 'RE', 'Reunión');
INSERT INTO pais (id, iso, nombre) VALUES (182, 'RW', 'Ruanda');
INSERT INTO pais (id, iso, nombre) VALUES (183, 'RO', 'Rumania');
INSERT INTO pais (id, iso, nombre) VALUES (184, 'RU', 'Rusia');
INSERT INTO pais (id, iso, nombre) VALUES (185, 'EH', 'Sahara Occidental');
INSERT INTO pais (id, iso, nombre) VALUES (186, 'SB', 'Islas Salomón');
INSERT INTO pais (id, iso, nombre) VALUES (187, 'WS', 'Samoa');
INSERT INTO pais (id, iso, nombre) VALUES (188, 'AS', 'Samoa Americana');
INSERT INTO pais (id, iso, nombre) VALUES (189, 'KN', 'San Cristóbal y Nevis');
INSERT INTO pais (id, iso, nombre) VALUES (190, 'SM', 'San Marino');
INSERT INTO pais (id, iso, nombre) VALUES (191, 'PM', 'San Pedro y Miquelón');
INSERT INTO pais (id, iso, nombre) VALUES (192, 'VC', 'San Vicente y las Granadinas');
INSERT INTO pais (id, iso, nombre) VALUES (193, 'SH', 'Santa Helena');
INSERT INTO pais (id, iso, nombre) VALUES (194, 'LC', 'Santa Lucía');
INSERT INTO pais (id, iso, nombre) VALUES (195, 'ST', 'Santo Tomé y Príncipe');
INSERT INTO pais (id, iso, nombre) VALUES (196, 'SN', 'Senegal');
INSERT INTO pais (id, iso, nombre) VALUES (197, 'CS', 'Serbia y Montenegro');
INSERT INTO pais (id, iso, nombre) VALUES (198, 'SC', 'Seychelles');
INSERT INTO pais (id, iso, nombre) VALUES (199, 'SL', 'Sierra Leona');
INSERT INTO pais (id, iso, nombre) VALUES (200, 'SG', 'Singapur');
INSERT INTO pais (id, iso, nombre) VALUES (201, 'SY', 'Siria');
INSERT INTO pais (id, iso, nombre) VALUES (202, 'SO', 'Somalia');
INSERT INTO pais (id, iso, nombre) VALUES (203, 'LK', 'Sri Lanka');
INSERT INTO pais (id, iso, nombre) VALUES (204, 'SZ', 'Suazilandia');
INSERT INTO pais (id, iso, nombre) VALUES (205, 'ZA', 'Sudáfrica');
INSERT INTO pais (id, iso, nombre) VALUES (206, 'SD', 'Sudán');
INSERT INTO pais (id, iso, nombre) VALUES (207, 'SE', 'Suecia');
INSERT INTO pais (id, iso, nombre) VALUES (208, 'CH', 'Suiza');
INSERT INTO pais (id, iso, nombre) VALUES (209, 'SR', 'Surinam');
INSERT INTO pais (id, iso, nombre) VALUES (210, 'SJ', 'Svalbard y Jan Mayen');
INSERT INTO pais (id, iso, nombre) VALUES (211, 'TH', 'Tailandia');
INSERT INTO pais (id, iso, nombre) VALUES (212, 'TW', 'Taiwán');
INSERT INTO pais (id, iso, nombre) VALUES (213, 'TZ', 'Tanzania');
INSERT INTO pais (id, iso, nombre) VALUES (214, 'TJ', 'Tayikistán');
INSERT INTO pais (id, iso, nombre) VALUES (215, 'IO', 'Territorio Británico del Océano Índico');
INSERT INTO pais (id, iso, nombre) VALUES (216, 'TF', 'Territorios Australes Franceses');
INSERT INTO pais (id, iso, nombre) VALUES (217, 'TL', 'Timor Oriental');
INSERT INTO pais (id, iso, nombre) VALUES (218, 'TG', 'Togo');
INSERT INTO pais (id, iso, nombre) VALUES (219, 'TK', 'Tokelau');
INSERT INTO pais (id, iso, nombre) VALUES (220, 'TO', 'Tonga');
INSERT INTO pais (id, iso, nombre) VALUES (221, 'TT', 'Trinidad y Tobago');
INSERT INTO pais (id, iso, nombre) VALUES (222, 'TN', 'Túnez');
INSERT INTO pais (id, iso, nombre) VALUES (223, 'TC', 'Islas Turcas y Caicos');
INSERT INTO pais (id, iso, nombre) VALUES (224, 'TM', 'Turkmenistán');
INSERT INTO pais (id, iso, nombre) VALUES (225, 'TR', 'Turquía');
INSERT INTO pais (id, iso, nombre) VALUES (226, 'TV', 'Tuvalu');
INSERT INTO pais (id, iso, nombre) VALUES (227, 'UA', 'Ucrania');
INSERT INTO pais (id, iso, nombre) VALUES (228, 'UG', 'Uganda');
INSERT INTO pais (id, iso, nombre) VALUES (229, 'UY', 'Uruguay');
INSERT INTO pais (id, iso, nombre) VALUES (230, 'UZ', 'Uzbekistán');
INSERT INTO pais (id, iso, nombre) VALUES (231, 'VU', 'Vanuatu');
INSERT INTO pais (id, iso, nombre) VALUES (232, 'VE', 'Venezuela');
INSERT INTO pais (id, iso, nombre) VALUES (233, 'VN', 'Vietnam');
INSERT INTO pais (id, iso, nombre) VALUES (234, 'VG', 'Islas Vírgenes Británicas');
INSERT INTO pais (id, iso, nombre) VALUES (235, 'VI', 'Islas Vírgenes de los Estados Unidos');
INSERT INTO pais (id, iso, nombre) VALUES (236, 'WF', 'Wallis y Futuna');
INSERT INTO pais (id, iso, nombre) VALUES (237, 'YE', 'Yemen');
INSERT INTO pais (id, iso, nombre) VALUES (238, 'DJ', 'Yibuti');
INSERT INTO pais (id, iso, nombre) VALUES (239, 'ZM', 'Zambia');
INSERT INTO pais (id, iso, nombre) VALUES (240, 'ZW', 'Zimbabue');
"""))
Gracias!!!