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'),
(710,'za','zaf',N'Afrique du Sud'),
(8,'al','alb',N'Albanie'),
(12,'dz','dza',N'Algérie'),
(276,'de','deu',N'Allemagne'),
(20,'ad','and',N'Andorre'),
(24,'ao','ago',N'Angola'),
(28,'ag','atg',N'Antigua-et-Barbuda'),
(682,'sa','sau',N'Arabie saoudite'),
(32,'ar','arg',N'Argentine'),
(51,'am','arm',N'Arménie'),
(36,'au','aus',N'Australie'),
(40,'at','aut',N'Autriche'),
(31,'az','aze',N'Azerbaïdjan'),
(44,'bs','bhs',N'Bahamas'),
(48,'bh','bhr',N'Bahreïn'),
(50,'bd','bgd',N'Bangladesh'),
(52,'bb','brb',N'Barbade'),
(112,'by','blr',N'Biélorussie'),
(56,'be','bel',N'Belgique'),
(84,'bz','blz',N'Belize'),
(204,'bj','ben',N'Bénin'),
(64,'bt','btn',N'Bhoutan'),
(68,'bo','bol',N'Bolivie'),
(70,'ba','bih',N'Bosnie-Herzégovine'),
(72,'bw','bwa',N'Botswana'),
(76,'br','bra',N'Brésil'),
(96,'bn','brn',N'Brunei'),
(100,'bg','bgr',N'Bulgarie'),
(854,'bf','bfa',N'Burkina Faso'),
(108,'bi','bdi',N'Burundi'),
(116,'kh','khm',N'Cambodge'),
(120,'cm','cmr',N'Cameroun'),
(124,'ca','can',N'Canada'),
(132,'cv','cpv',N'Cap-Vert'),
(140,'cf','caf',N'République centrafricaine'),
(152,'cl','chl',N'Chili'),
(156,'cn','chn',N'Chine'),
(196,'cy','cyp',N'Chypre'),
(170,'co','col',N'Colombie'),
(174,'km','com',N'Comores'),
(178,'cg','cog',N'République du Congo'),
(180,'cd','cod',N'République démocratique du Congo'),
(410,'kr','kor',N'Corée du Sud'),
(408,'kp','prk',N'Corée du Nord'),
(188,'cr','cri',N'Costa Rica'),
(384,'ci','civ',N'Côte d''Ivoire'),
(191,'hr','hrv',N'Croatie'),
(192,'cu','cub',N'Cuba'),
(208,'dk','dnk',N'Danemark'),
(262,'dj','dji',N'Djibouti'),
(214,'do','dom',N'République dominicaine'),
(212,'dm','dma',N'Dominique'),
(818,'eg','egy',N'Égypte'),
(784,'ae','are',N'Émirats arabes unis'),
(218,'ec','ecu',N'Équateur'),
(232,'er','eri',N'Érythrée'),
(724,'es','esp',N'Espagne'),
(233,'ee','est',N'Estonie'),
(840,'us','usa',N'États-Unis'),
(231,'et','eth',N'Éthiopie'),
(242,'fj','fji',N'Fidji'),
(246,'fi','fin',N'Finlande'),
(250,'fr','fra',N'France'),
(266,'ga','gab',N'Gabon'),
(270,'gm','gmb',N'Gambie'),
(268,'ge','geo',N'Géorgie'),
(288,'gh','gha',N'Ghana'),
(300,'gr','grc',N'Grèce'),
(308,'gd','grd',N'Grenade'),
(320,'gt','gtm',N'Guatemala'),
(324,'gn','gin',N'Guinée'),
(624,'gw','gnb',N'Guinée-Bissau'),
(226,'gq','gnq',N'Guinée équatoriale'),
(328,'gy','guy',N'Guyana'),
(332,'ht','hti',N'Haïti'),
(340,'hn','hnd',N'Honduras'),
(348,'hu','hun',N'Hongrie'),
(356,'in','ind',N'Inde'),
(360,'id','idn',N'Indonésie'),
(364,'ir','irn',N'Iran'),
(368,'iq','irq',N'Irak'),
(372,'ie','irl',N'Irlande'),
(352,'is','isl',N'Islande'),
(376,'il','isr',N'Israël'),
(380,'it','ita',N'Italie'),
(388,'jm','jam',N'Jamaïque'),
(392,'jp','jpn',N'Japon'),
(400,'jo','jor',N'Jordanie'),
(398,'kz','kaz',N'Kazakhstan'),
(404,'ke','ken',N'Kenya'),
(417,'kg','kgz',N'Kirghizistan'),
(296,'ki','kir',N'Kiribati'),
(414,'kw','kwt',N'Koweït'),
(418,'la','lao',N'Laos'),
(426,'ls','lso',N'Lesotho'),
(428,'lv','lva',N'Lettonie'),
(422,'lb','lbn',N'Liban'),
(430,'lr','lbr',N'Liberia'),
(434,'ly','lby',N'Libye'),
(438,'li','lie',N'Liechtenstein'),
(440,'lt','ltu',N'Lituanie'),
(442,'lu','lux',N'Luxembourg'),
(807,'mk','mkd',N'Macédoine du Nord'),
(450,'mg','mdg',N'Madagascar'),
(458,'my','mys',N'Malaisie'),
(454,'mw','mwi',N'Malawi'),
(462,'mv','mdv',N'Maldives'),
(466,'ml','mli',N'Mali'),
(470,'mt','mlt',N'Malte'),
(504,'ma','mar',N'Maroc'),
(584,'mh','mhl',N'Îles Marshall'),
(480,'mu','mus',N'Maurice'),
(478,'mr','mrt',N'Mauritanie'),
(484,'mx','mex',N'Mexique'),
(583,'fm','fsm',N'États fédérés de Micronésie'),
(498,'md','mda',N'Moldavie'),
(492,'mc','mco',N'Monaco'),
(496,'mn','mng',N'Mongolie'),
(499,'me','mne',N'Monténégro'),
(508,'mz','moz',N'Mozambique'),
(104,'mm','mmr',N'Birmanie'),
(516,'na','nam',N'Namibie'),
(520,'nr','nru',N'Nauru'),
(524,'np','npl',N'Népal'),
(558,'ni','nic',N'Nicaragua'),
(562,'ne','ner',N'Niger'),
(566,'ng','nga',N'Nigeria'),
(578,'no','nor',N'Norvège'),
(554,'nz','nzl',N'Nouvelle-Zélande'),
(512,'om','omn',N'Oman'),
(800,'ug','uga',N'Ouganda'),
(860,'uz','uzb',N'Ouzbékistan'),
(586,'pk','pak',N'Pakistan'),
(585,'pw','plw',N'Palaos'),
(591,'pa','pan',N'Panama'),
(598,'pg','png',N'Papouasie-Nouvelle-Guinée'),
(600,'py','pry',N'Paraguay'),
(528,'nl','nld',N'Pays-Bas'),
(604,'pe','per',N'Pérou'),
(608,'ph','phl',N'Philippines'),
(616,'pl','pol',N'Pologne'),
(620,'pt','prt',N'Portugal'),
(634,'qa','qat',N'Qatar'),
(642,'ro','rou',N'Roumanie'),
(826,'gb','gbr',N'Royaume-Uni'),
(643,'ru','rus',N'Russie'),
(646,'rw','rwa',N'Rwanda'),
(659,'kn','kna',N'Saint-Christophe-et-Niévès'),
(674,'sm','smr',N'Saint-Marin'),
(670,'vc','vct',N'Saint-Vincent-et-les-Grenadines'),
(662,'lc','lca',N'Sainte-Lucie'),
(90,'sb','slb',N'Îles Salomon'),
(222,'sv','slv',N'Salvador'),
(882,'ws','wsm',N'Samoa'),
(678,'st','stp',N'Sao Tomé-et-Principe'),
(686,'sn','sen',N'Sénégal'),
(688,'rs','srb',N'Serbie'),
(690,'sc','syc',N'Seychelles'),
(694,'sl','sle',N'Sierra Leone'),
(702,'sg','sgp',N'Singapour'),
(703,'sk','svk',N'Slovaquie'),
(705,'si','svn',N'Slovénie'),
(706,'so','som',N'Somalie'),
(729,'sd','sdn',N'Soudan'),
(728,'ss','ssd',N'Soudan du Sud'),
(144,'lk','lka',N'Sri Lanka'),
(752,'se','swe',N'Suède'),
(756,'ch','che',N'Suisse'),
(740,'sr','sur',N'Suriname'),
(748,'sz','swz',N'Eswatini'),
(760,'sy','syr',N'Syrie'),
(762,'tj','tjk',N'Tadjikistan'),
(834,'tz','tza',N'Tanzanie'),
(148,'td','tcd',N'Tchad'),
(203,'cz','cze',N'Tchéquie'),
(764,'th','tha',N'Thaïlande'),
(626,'tl','tls',N'Timor oriental'),
(768,'tg','tgo',N'Togo'),
(776,'to','ton',N'Tonga'),
(780,'tt','tto',N'Trinité-et-Tobago'),
(788,'tn','tun',N'Tunisie'),
(795,'tm','tkm',N'Turkménistan'),
(792,'tr','tur',N'Turquie'),
(798,'tv','tuv',N'Tuvalu'),
(804,'ua','ukr',N'Ukraine'),
(858,'uy','ury',N'Uruguay'),
(548,'vu','vut',N'Vanuatu'),
(862,'ve','ven',N'Venezuela'),
(704,'vn','vnm',N'Viêt Nam'),
(887,'ye','yem',N'Yémen'),
(894,'zm','zmb',N'Zambie'),
(716,'zw','zwe',N'Zimbabwe')