1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
--
-- Structure de la table `country`
--
CREATE TABLE `country` (
`id_country` int(10) unsigned NOT NULL auto_increment,
`name_country` varchar(100) NOT NULL,
PRIMARY KEY (`id_country`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Contenu de la table `country`
--
INSERT INTO `country` (`id_country`, `name_country`) VALUES
(1, 'Belgique'),
(2, 'France'),
(3, 'Allemagne'),
(4, 'Luxembourg');
-- --------------------------------------------------------
--
-- Structure de la table `district`
--
CREATE TABLE `district` (
`id_district` int(10) unsigned NOT NULL auto_increment,
`id_country` int(10) NOT NULL,
`name_district` varchar(100) NOT NULL,
PRIMARY KEY (`id_district`),
KEY `clepaysregion` (`id_country`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Contenu de la table `district`
--
INSERT INTO `district` (`id_district`, `id_country`, `name_district`) VALUES
(1, 1, 'Bruxelles Capitale'),
(2, 1, 'Brabant Wallon'),
(3, 1, 'Namur'),
(4, 1, 'Luxembourg'),
(5, 1, 'Liège'); |