IF OBJECT_ID('world', 'U') IS NOT NULL DROP TABLE [world];

CREATE TABLE [world] (
    [id] INT NOT NULL,
    [alpha_2] CHAR(2) NOT NULL DEFAULT '',
    [alpha_3] CHAR(3) NOT NULL DEFAULT '',
    [name] NVARCHAR(75) NOT NULL DEFAULT '',
    CONSTRAINT [pk_world] PRIMARY KEY ([id])
);

INSERT INTO [world] ([id], [alpha_2], [alpha_3], [name]) VALUES
(4,'af','afg',N'Afghanistan'),
(248,'ax','ala',N'Åland Islands'),
(8,'al','alb',N'Albania'),
(12,'dz','dza',N'Algeria'),
(16,'as','asm',N'American Samoa'),
(20,'ad','and',N'Andorra'),
(24,'ao','ago',N'Angola'),
(660,'ai','aia',N'Anguilla'),
(10,'aq','ata',N'Antarctica'),
(28,'ag','atg',N'Antigua and Barbuda'),
(32,'ar','arg',N'Argentina'),
(51,'am','arm',N'Armenia'),
(533,'aw','abw',N'Aruba'),
(36,'au','aus',N'Australia'),
(40,'at','aut',N'Austria'),
(31,'az','aze',N'Azerbaijan'),
(44,'bs','bhs',N'Bahamas'),
(48,'bh','bhr',N'Bahrain'),
(50,'bd','bgd',N'Bangladesh'),
(52,'bb','brb',N'Barbados'),
(112,'by','blr',N'Belarus'),
(56,'be','bel',N'Belgium'),
(84,'bz','blz',N'Belize'),
(204,'bj','ben',N'Benin'),
(60,'bm','bmu',N'Bermuda'),
(64,'bt','btn',N'Bhutan'),
(68,'bo','bol',N'Bolivia, Plurinational State of'),
(535,'bq','bes',N'Bonaire, Sint Eustatius and Saba'),
(70,'ba','bih',N'Bosnia and Herzegovina'),
(72,'bw','bwa',N'Botswana'),
(74,'bv','bvt',N'Bouvet Island'),
(76,'br','bra',N'Brazil'),
(86,'io','iot',N'British Indian Ocean Territory'),
(96,'bn','brn',N'Brunei Darussalam'),
(100,'bg','bgr',N'Bulgaria'),
(854,'bf','bfa',N'Burkina Faso'),
(108,'bi','bdi',N'Burundi'),
(132,'cv','cpv',N'Cabo Verde'),
(116,'kh','khm',N'Cambodia'),
(120,'cm','cmr',N'Cameroon'),
(124,'ca','can',N'Canada'),
(136,'ky','cym',N'Cayman Islands'),
(140,'cf','caf',N'Central African Republic'),
(148,'td','tcd',N'Chad'),
(152,'cl','chl',N'Chile'),
(156,'cn','chn',N'China'),
(162,'cx','cxr',N'Christmas Island'),
(166,'cc','cck',N'Cocos (Keeling) Islands'),
(170,'co','col',N'Colombia'),
(174,'km','com',N'Comoros'),
(178,'cg','cog',N'Congo'),
(180,'cd','cod',N'Congo, Democratic Republic of the'),
(184,'ck','cok',N'Cook Islands'),
(188,'cr','cri',N'Costa Rica'),
(384,'ci','civ',N'Côte d''Ivoire'),
(191,'hr','hrv',N'Croatia'),
(192,'cu','cub',N'Cuba'),
(531,'cw','cuw',N'Curaçao'),
(196,'cy','cyp',N'Cyprus'),
(203,'cz','cze',N'Czechia'),
(208,'dk','dnk',N'Denmark'),
(262,'dj','dji',N'Djibouti'),
(212,'dm','dma',N'Dominica'),
(214,'do','dom',N'Dominican Republic'),
(218,'ec','ecu',N'Ecuador'),
(818,'eg','egy',N'Egypt'),
(222,'sv','slv',N'El Salvador'),
(226,'gq','gnq',N'Equatorial Guinea'),
(232,'er','eri',N'Eritrea'),
(233,'ee','est',N'Estonia'),
(748,'sz','swz',N'Eswatini'),
(231,'et','eth',N'Ethiopia'),
(238,'fk','flk',N'Falkland Islands (Malvinas)'),
(234,'fo','fro',N'Faroe Islands'),
(242,'fj','fji',N'Fiji'),
(246,'fi','fin',N'Finland'),
(250,'fr','fra',N'France'),
(254,'gf','guf',N'French Guiana'),
(258,'pf','pyf',N'French Polynesia'),
(260,'tf','atf',N'French Southern Territories'),
(266,'ga','gab',N'Gabon'),
(270,'gm','gmb',N'Gambia'),
(268,'ge','geo',N'Georgia'),
(276,'de','deu',N'Germany'),
(288,'gh','gha',N'Ghana'),
(292,'gi','gib',N'Gibraltar'),
(300,'gr','grc',N'Greece'),
(304,'gl','grl',N'Greenland'),
(308,'gd','grd',N'Grenada'),
(312,'gp','glp',N'Guadeloupe'),
(316,'gu','gum',N'Guam'),
(320,'gt','gtm',N'Guatemala'),
(831,'gg','ggy',N'Guernsey'),
(324,'gn','gin',N'Guinea'),
(624,'gw','gnb',N'Guinea-Bissau'),
(328,'gy','guy',N'Guyana'),
(332,'ht','hti',N'Haiti'),
(334,'hm','hmd',N'Heard Island and McDonald Islands'),
(336,'va','vat',N'Holy See'),
(340,'hn','hnd',N'Honduras'),
(344,'hk','hkg',N'Hong Kong'),
(348,'hu','hun',N'Hungary'),
(352,'is','isl',N'Iceland'),
(356,'in','ind',N'India'),
(360,'id','idn',N'Indonesia'),
(364,'ir','irn',N'Iran, Islamic Republic of'),
(368,'iq','irq',N'Iraq'),
(372,'ie','irl',N'Ireland'),
(833,'im','imn',N'Isle of Man'),
(376,'il','isr',N'Israel'),
(380,'it','ita',N'Italy'),
(388,'jm','jam',N'Jamaica'),
(392,'jp','jpn',N'Japan'),
(832,'je','jey',N'Jersey'),
(400,'jo','jor',N'Jordan'),
(398,'kz','kaz',N'Kazakhstan'),
(404,'ke','ken',N'Kenya'),
(296,'ki','kir',N'Kiribati'),
(408,'kp','prk',N'Korea, Democratic People''s Republic of'),
(410,'kr','kor',N'Korea, Republic of'),
(414,'kw','kwt',N'Kuwait'),
(417,'kg','kgz',N'Kyrgyzstan'),
(418,'la','lao',N'Lao People''s Democratic Republic'),
(428,'lv','lva',N'Latvia'),
(422,'lb','lbn',N'Lebanon'),
(426,'ls','lso',N'Lesotho'),
(430,'lr','lbr',N'Liberia'),
(434,'ly','lby',N'Libya'),
(438,'li','lie',N'Liechtenstein'),
(440,'lt','ltu',N'Lithuania'),
(442,'lu','lux',N'Luxembourg'),
(446,'mo','mac',N'Macao'),
(450,'mg','mdg',N'Madagascar'),
(454,'mw','mwi',N'Malawi'),
(458,'my','mys',N'Malaysia'),
(462,'mv','mdv',N'Maldives'),
(466,'ml','mli',N'Mali'),
(470,'mt','mlt',N'Malta'),
(584,'mh','mhl',N'Marshall Islands'),
(474,'mq','mtq',N'Martinique'),
(478,'mr','mrt',N'Mauritania'),
(480,'mu','mus',N'Mauritius'),
(175,'yt','myt',N'Mayotte'),
(484,'mx','mex',N'Mexico'),
(583,'fm','fsm',N'Micronesia, Federated States of'),
(498,'md','mda',N'Moldova, Republic of'),
(492,'mc','mco',N'Monaco'),
(496,'mn','mng',N'Mongolia'),
(499,'me','mne',N'Montenegro'),
(500,'ms','msr',N'Montserrat'),
(504,'ma','mar',N'Morocco'),
(508,'mz','moz',N'Mozambique'),
(104,'mm','mmr',N'Myanmar'),
(516,'na','nam',N'Namibia'),
(520,'nr','nru',N'Nauru'),
(524,'np','npl',N'Nepal'),
(528,'nl','nld',N'Netherlands'),
(540,'nc','ncl',N'New Caledonia'),
(554,'nz','nzl',N'New Zealand'),
(558,'ni','nic',N'Nicaragua'),
(562,'ne','ner',N'Niger'),
(566,'ng','nga',N'Nigeria'),
(570,'nu','niu',N'Niue'),
(574,'nf','nfk',N'Norfolk Island'),
(807,'mk','mkd',N'North Macedonia'),
(580,'mp','mnp',N'Northern Mariana Islands'),
(578,'no','nor',N'Norway'),
(512,'om','omn',N'Oman'),
(586,'pk','pak',N'Pakistan'),
(585,'pw','plw',N'Palau'),
(275,'ps','pse',N'Palestine, State of'),
(591,'pa','pan',N'Panama'),
(598,'pg','png',N'Papua New Guinea'),
(600,'py','pry',N'Paraguay'),
(604,'pe','per',N'Peru'),
(608,'ph','phl',N'Philippines'),
(612,'pn','pcn',N'Pitcairn'),
(616,'pl','pol',N'Poland'),
(620,'pt','prt',N'Portugal'),
(630,'pr','pri',N'Puerto Rico'),
(634,'qa','qat',N'Qatar'),
(638,'re','reu',N'Réunion'),
(642,'ro','rou',N'Romania'),
(643,'ru','rus',N'Russian Federation'),
(646,'rw','rwa',N'Rwanda'),
(652,'bl','blm',N'Saint Barthélemy'),
(654,'sh','shn',N'Saint Helena, Ascension and Tristan da Cunha'),
(659,'kn','kna',N'Saint Kitts and Nevis'),
(662,'lc','lca',N'Saint Lucia'),
(663,'mf','maf',N'Saint Martin (French part)'),
(666,'pm','spm',N'Saint Pierre and Miquelon'),
(670,'vc','vct',N'Saint Vincent and the Grenadines'),
(882,'ws','wsm',N'Samoa'),
(674,'sm','smr',N'San Marino'),
(678,'st','stp',N'Sao Tome and Principe'),
(682,'sa','sau',N'Saudi Arabia'),
(686,'sn','sen',N'Senegal'),
(688,'rs','srb',N'Serbia'),
(690,'sc','syc',N'Seychelles'),
(694,'sl','sle',N'Sierra Leone'),
(702,'sg','sgp',N'Singapore'),
(534,'sx','sxm',N'Sint Maarten (Dutch part)'),
(703,'sk','svk',N'Slovakia'),
(705,'si','svn',N'Slovenia'),
(90,'sb','slb',N'Solomon Islands'),
(706,'so','som',N'Somalia'),
(710,'za','zaf',N'South Africa'),
(239,'gs','sgs',N'South Georgia and the South Sandwich Islands'),
(728,'ss','ssd',N'South Sudan'),
(724,'es','esp',N'Spain'),
(144,'lk','lka',N'Sri Lanka'),
(729,'sd','sdn',N'Sudan'),
(740,'sr','sur',N'Suriname'),
(744,'sj','sjm',N'Svalbard and Jan Mayen'),
(752,'se','swe',N'Sweden'),
(756,'ch','che',N'Switzerland'),
(760,'sy','syr',N'Syrian Arab Republic'),
(158,'tw','twn',N'Taiwan, Province of China'),
(762,'tj','tjk',N'Tajikistan'),
(834,'tz','tza',N'Tanzania, United Republic of'),
(764,'th','tha',N'Thailand'),
(626,'tl','tls',N'Timor-Leste'),
(768,'tg','tgo',N'Togo'),
(772,'tk','tkl',N'Tokelau'),
(776,'to','ton',N'Tonga'),
(780,'tt','tto',N'Trinidad and Tobago'),
(788,'tn','tun',N'Tunisia'),
(792,'tr','tur',N'Türkiye'),
(795,'tm','tkm',N'Turkmenistan'),
(796,'tc','tca',N'Turks and Caicos Islands'),
(798,'tv','tuv',N'Tuvalu'),
(800,'ug','uga',N'Uganda'),
(804,'ua','ukr',N'Ukraine'),
(784,'ae','are',N'United Arab Emirates'),
(826,'gb','gbr',N'United Kingdom of Great Britain and Northern Ireland'),
(840,'us','usa',N'United States of America'),
(581,'um','umi',N'United States Minor Outlying Islands'),
(858,'uy','ury',N'Uruguay'),
(860,'uz','uzb',N'Uzbekistan'),
(548,'vu','vut',N'Vanuatu'),
(862,'ve','ven',N'Venezuela, Bolivarian Republic of'),
(704,'vn','vnm',N'Viet Nam'),
(92,'vg','vgb',N'Virgin Islands (British)'),
(850,'vi','vir',N'Virgin Islands (U.S.)'),
(876,'wf','wlf',N'Wallis and Futuna'),
(732,'eh','esh',N'Western Sahara'),
(887,'ye','yem',N'Yemen'),
(894,'zm','zmb',N'Zambia'),
(716,'zw','zwe',N'Zimbabwe')