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

CREATE TABLE [countries] (
    [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_countries] PRIMARY KEY ([id])
);

INSERT INTO [countries] ([id], [alpha_2], [alpha_3], [name]) VALUES
(4,'af','afg',N'Afghanistan'),
(8,'al','alb',N'Albania'),
(12,'dz','dza',N'Algerie'),
(20,'ad','and',N'Andorra'),
(24,'ao','ago',N'Angola'),
(28,'ag','atg',N'Antigua og Barbuda'),
(32,'ar','arg',N'Argentina'),
(51,'am','arm',N'Armenia'),
(31,'az','aze',N'Aserbajdsjan'),
(36,'au','aus',N'Australia'),
(44,'bs','bhs',N'Bahamas'),
(48,'bh','bhr',N'Bahrain'),
(50,'bd','bgd',N'Bangladesh'),
(52,'bb','brb',N'Barbados'),
(56,'be','bel',N'Belgia'),
(84,'bz','blz',N'Belize'),
(204,'bj','ben',N'Benin'),
(64,'bt','btn',N'Bhutan'),
(68,'bo','bol',N'Bolivia'),
(70,'ba','bih',N'Bosnia-Hercegovina'),
(72,'bw','bwa',N'Botswana'),
(76,'br','bra',N'Brasil'),
(96,'bn','brn',N'Brunei'),
(100,'bg','bgr',N'Bulgaria'),
(854,'bf','bfa',N'Burkina Faso'),
(108,'bi','bdi',N'Burundi'),
(124,'ca','can',N'Canada'),
(152,'cl','chl',N'Chile'),
(170,'co','col',N'Colombia'),
(188,'cr','cri',N'Costa Rica'),
(192,'cu','cub',N'Cuba'),
(208,'dk','dnk',N'Danmark'),
(784,'ae','are',N'De forente arabiske emirater'),
(214,'do','dom',N'Den dominikanske republikk'),
(140,'cf','caf',N'Den sentralafrikanske republikk'),
(262,'dj','dji',N'Djibouti'),
(212,'dm','dma',N'Dominica'),
(218,'ec','ecu',N'Ecuador'),
(818,'eg','egy',N'Egypt'),
(226,'gq','gnq',N'Ekvatorial-Guinea'),
(384,'ci','civ',N'Elfenbenskysten'),
(222,'sv','slv',N'El Salvador'),
(232,'er','eri',N'Eritrea'),
(233,'ee','est',N'Estland'),
(231,'et','eth',N'Etiopia'),
(242,'fj','fji',N'Fiji'),
(608,'ph','phl',N'Filippinene'),
(246,'fi','fin',N'Finland'),
(250,'fr','fra',N'Frankrike'),
(266,'ga','gab',N'Gabon'),
(270,'gm','gmb',N'Gambia'),
(268,'ge','geo',N'Georgia'),
(288,'gh','gha',N'Ghana'),
(308,'gd','grd',N'Grenada'),
(320,'gt','gtm',N'Guatemala'),
(324,'gn','gin',N'Guinea'),
(624,'gw','gnb',N'Guinea-Bissau'),
(328,'gy','guy',N'Guyana'),
(332,'ht','hti',N'Haiti'),
(300,'gr','grc',N'Hellas'),
(340,'hn','hnd',N'Honduras'),
(112,'by','blr',N'Belarus'),
(356,'in','ind',N'India'),
(360,'id','idn',N'Indonesia'),
(368,'iq','irq',N'Irak'),
(364,'ir','irn',N'Iran'),
(372,'ie','irl',N'Irland'),
(352,'is','isl',N'Island'),
(376,'il','isr',N'Israel'),
(380,'it','ita',N'Italia'),
(388,'jm','jam',N'Jamaica'),
(392,'jp','jpn',N'Japan'),
(887,'ye','yem',N'Jemen'),
(400,'jo','jor',N'Jordan'),
(116,'kh','khm',N'Kambodsja'),
(120,'cm','cmr',N'Kamerun'),
(132,'cv','cpv',N'Kapp Verde'),
(398,'kz','kaz',N'Kasakhstan'),
(404,'ke','ken',N'Kenya'),
(156,'cn','chn',N'Kina'),
(417,'kg','kgz',N'Kirgisistan'),
(296,'ki','kir',N'Kiribati'),
(174,'km','com',N'Komorene'),
(180,'cd','cod',N'Kongo, Den demokratiske republikken'),
(178,'cg','cog',N'Kongo, Republikken'),
(191,'hr','hrv',N'Kroatia'),
(414,'kw','kwt',N'Kuwait'),
(196,'cy','cyp',N'Kypros'),
(418,'la','lao',N'Laos'),
(428,'lv','lva',N'Latvia'),
(426,'ls','lso',N'Lesotho'),
(422,'lb','lbn',N'Libanon'),
(430,'lr','lbr',N'Liberia'),
(434,'ly','lby',N'Libya'),
(438,'li','lie',N'Liechtenstein'),
(440,'lt','ltu',N'Litauen'),
(442,'lu','lux',N'Luxembourg'),
(450,'mg','mdg',N'Madagaskar'),
(454,'mw','mwi',N'Malawi'),
(458,'my','mys',N'Malaysia'),
(462,'mv','mdv',N'Maldivene'),
(466,'ml','mli',N'Mali'),
(470,'mt','mlt',N'Malta'),
(504,'ma','mar',N'Marokko'),
(584,'mh','mhl',N'Marshalløyene'),
(478,'mr','mrt',N'Mauritania'),
(480,'mu','mus',N'Mauritius'),
(484,'mx','mex',N'Mexico'),
(583,'fm','fsm',N'Mikronesiaføderasjonen'),
(498,'md','mda',N'Moldova'),
(492,'mc','mco',N'Monaco'),
(496,'mn','mng',N'Mongolia'),
(499,'me','mne',N'Montenegro'),
(508,'mz','moz',N'Mosambik'),
(104,'mm','mmr',N'Myanmar'),
(516,'na','nam',N'Namibia'),
(520,'nr','nru',N'Nauru'),
(524,'np','npl',N'Nepal'),
(528,'nl','nld',N'Nederland'),
(554,'nz','nzl',N'New Zealand'),
(558,'ni','nic',N'Nicaragua'),
(562,'ne','ner',N'Niger'),
(566,'ng','nga',N'Nigeria'),
(408,'kp','prk',N'Nord-Korea'),
(807,'mk','mkd',N'Nord-Makedonia, Republikken'),
(578,'no','nor',N'Norge'),
(512,'om','omn',N'Oman'),
(586,'pk','pak',N'Pakistan'),
(585,'pw','plw',N'Palau'),
(591,'pa','pan',N'Panama'),
(598,'pg','png',N'Papua Ny-Guinea'),
(600,'py','pry',N'Paraguay'),
(604,'pe','per',N'Peru'),
(616,'pl','pol',N'Polen'),
(620,'pt','prt',N'Portugal'),
(634,'qa','qat',N'Qatar'),
(642,'ro','rou',N'Romania'),
(643,'ru','rus',N'Russland'),
(646,'rw','rwa',N'Rwanda'),
(659,'kn','kna',N'Saint Kitts og Nevis'),
(662,'lc','lca',N'Saint Lucia'),
(670,'vc','vct',N'Saint Vincent og Grenadinene'),
(90,'sb','slb',N'Salomonøyene'),
(882,'ws','wsm',N'Samoa'),
(674,'sm','smr',N'San Marino'),
(678,'st','stp',N'São Tomé og Príncipe'),
(682,'sa','sau',N'Saudi-Arabia'),
(686,'sn','sen',N'Senegal'),
(688,'rs','srb',N'Serbia'),
(690,'sc','syc',N'Seychellene'),
(694,'sl','sle',N'Sierra Leone'),
(702,'sg','sgp',N'Singapore'),
(703,'sk','svk',N'Slovakia'),
(705,'si','svn',N'Slovenia'),
(706,'so','som',N'Somalia'),
(724,'es','esp',N'Spania'),
(144,'lk','lka',N'Sri Lanka'),
(826,'gb','gbr',N'Storbritannia'),
(729,'sd','sdn',N'Sudan'),
(740,'sr','sur',N'Surinam'),
(756,'ch','che',N'Sveits'),
(752,'se','swe',N'Sverige'),
(748,'sz','swz',N'Eswatini'),
(760,'sy','syr',N'Syria'),
(710,'za','zaf',N'Sør-Afrika'),
(410,'kr','kor',N'Sør-Korea'),
(728,'ss','ssd',N'Sør-Sudan'),
(762,'tj','tjk',N'Tadsjikistan'),
(834,'tz','tza',N'Tanzania'),
(764,'th','tha',N'Thailand'),
(768,'tg','tgo',N'Togo'),
(776,'to','ton',N'Tonga'),
(780,'tt','tto',N'Trinidad og Tobago'),
(148,'td','tcd',N'Tsjad'),
(203,'cz','cze',N'Tsjekkia'),
(788,'tn','tun',N'Tunisia'),
(795,'tm','tkm',N'Turkmenistan'),
(798,'tv','tuv',N'Tuvalu'),
(792,'tr','tur',N'Tyrkia'),
(276,'de','deu',N'Tyskland'),
(800,'ug','uga',N'Uganda'),
(804,'ua','ukr',N'Ukraina'),
(348,'hu','hun',N'Ungarn'),
(858,'uy','ury',N'Uruguay'),
(840,'us','usa',N'USA'),
(860,'uz','uzb',N'Usbekistan'),
(548,'vu','vut',N'Vanuatu'),
(862,'ve','ven',N'Venezuela'),
(704,'vn','vnm',N'Vietnam'),
(894,'zm','zmb',N'Zambia'),
(716,'zw','zwe',N'Zimbabwe'),
(40,'at','aut',N'Østerrike'),
(626,'tl','tls',N'Øst-Timor')