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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
| -- phpMyAdmin SQL Dump
-- version 2.9.1.1
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Jeudi 12 Juillet 2007 à 01:37
-- Version du serveur: 5.0.27
-- Version de PHP: 5.2.0
--
-- Base de données: `test`
--
-- --------------------------------------------------------
--
-- Structure de la table `batiments`
--
CREATE TABLE `batiments` (
`id_batiment` int(10) unsigned NOT NULL auto_increment,
`nom_batiment` varchar(40) NOT NULL,
UNIQUE KEY `nom_batiment` (`nom_batiment`),
KEY `id` (`id_batiment`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
--
-- Contenu de la table `batiments`
--
INSERT INTO `batiments` (`id_batiment`, `nom_batiment`) VALUES
(1, 'bat1'),
(2, 'bat2'),
(3, 'bat3'),
(4, 'bat4'),
(5, 'bat5'),
(6, 'bat6'),
(7, 'bat7'),
(8, 'bat8'),
(9, 'bat9'),
(10, 'bat10');
-- --------------------------------------------------------
--
-- Structure de la table `batiments_requis`
--
CREATE TABLE `batiments_requis` (
`id_batiment` int(11) unsigned NOT NULL,
`id_batiment_requis` int(11) unsigned NOT NULL,
KEY `id_batiment` (`id_batiment`,`id_batiment_requis`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Contenu de la table `batiments_requis`
--
INSERT INTO `batiments_requis` (`id_batiment`, `id_batiment_requis`) VALUES
(5, 2),
(5, 4);
-- --------------------------------------------------------
--
-- Structure de la table `technologies`
--
CREATE TABLE `technologies` (
`id_technologie` int(11) unsigned NOT NULL auto_increment,
`nom_technologie` varchar(40) NOT NULL,
UNIQUE KEY `nom` (`nom_technologie`),
KEY `id_technologie` (`id_technologie`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
--
-- Contenu de la table `technologies`
--
INSERT INTO `technologies` (`id_technologie`, `nom_technologie`) VALUES
(1, 'tech1'),
(2, 'tech2'),
(3, 'tech3'),
(4, 'tech4'),
(5, 'tech5'),
(6, 'tech6'),
(7, 'tech7'),
(8, 'tech8'),
(9, 'tech9'),
(10, 'tech10');
-- --------------------------------------------------------
--
-- Structure de la table `technologies_requises`
--
CREATE TABLE `technologies_requises` (
`id_batiment` int(11) unsigned NOT NULL,
`id_technologie_requise` int(11) unsigned NOT NULL,
KEY `id_technologie` (`id_batiment`,`id_technologie_requise`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Contenu de la table `technologies_requises`
--
INSERT INTO `technologies_requises` (`id_batiment`, `id_technologie_requise`) VALUES
(5, 9); |
Partager