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
| CREATE TABLE IF NOT EXISTS `articles` (
`id_articles` int(11) NOT NULL,
`nom` varchar(250) NOT NULL,
`lien` varchar(250) NOT NULL,
`description` text NOT NULL,
`designation` varchar(55) NOT NULL,
`machine` varchar(200) NOT NULL,
`image` text NOT NULL,
`image_arriere` int(11) NOT NULL,
`agrandissement` int(11) NOT NULL,
`heure` datetime NOT NULL,
PRIMARY KEY (`id_articles`),
UNIQUE KEY `id_articles` (`id_articles`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `articles`
--
INSERT INTO `articles` (`id_articles`, `nom`, `lien`, `description`, `designation`, `machine`, `image`, `image_arriere`, `agrandissement`, `heure`) VALUES
(189, 'final fantasy 13', '../jeu_neuf/final_fantasy_13.php', '', 'jeu neuf', 'jeu ps3 neuf', '620452.jpg', 648156, 657201, '2013-12-06 13:43:00'),
(190, 'batman arkham city', '../jeu_occasion/batman.php', 'pénétrez au cur d''''un conflit mêlant les plus grand criminel de l''histoire de batman', 'jeu occasion', 'jeu xbox 360 occasion', '566837.jpg', 0, 0, '2013-12-06 13:45:00'),
(193, 'assassin''s creed revelation', '../jeu_occasion/assassin''s_creed_revelation.php', 'Le maitre assassin Ezio Auditore marche sur les traces de son légendaire ancêtre Altaîr, et plonge au plus profond d''une quêtes remplie de révélations sur la lignée des assassins ', 'jeu occasion', 'jeu ps3 occasion', '711386.jpg', 0, 0, '2013-12-06 13:46:00'),
(194, 'batman arkham city', '../jeu_occasion/batman.php', '', 'jeu occasion', 'jeu xbox 360 occasion', '956267.jpg', 0, 0, '2013-12-06 13:50:00'),
(195, 'assassin', '../vetement/assassin.php', 't-shirt assassin''creed 3', 'vetement neuf', 'vetement ', '180477.jpg', 0, 0, '2013-12-06 13:52:00');
-- --------------------------------------------------------
--
-- Structure de la table `identification`
--
CREATE TABLE IF NOT EXISTS `identification` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_article` int(11) NOT NULL,
`id_taille` int(11) NOT NULL,
`quantite` int(11) NOT NULL,
`prix` double(11,0) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=206 ;
--
-- Contenu de la table `identification`
--
INSERT INTO `identification` (`id`, `id_article`, `id_taille`, `quantite`, `prix`) VALUES
(196, 195, 7, 10, 19),
(197, 195, 8, 2, 19),
(198, 195, 9, 0, 19),
(199, 195, 10, 6, 19),
(200, 195, 11, 12, 19),
(201, 195, 12, 12, 19),
(202, 189, 0, 12, 19),
(203, 190, 0, 3, 19),
(204, 193, 0, 3, 19),
(205, 194, 0, 3, 19);
-- --------------------------------------------------------
--
-- Structure de la table `taille`
--
CREATE TABLE IF NOT EXISTS `taille` (
`id_tailles` int(11) NOT NULL AUTO_INCREMENT,
`taille` varchar(55) NOT NULL,
PRIMARY KEY (`id_tailles`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;
--
-- Contenu de la table `taille`
--
INSERT INTO `taille` (`id_tailles`, `taille`) VALUES
(7, 'XS'),
(8, 'S'),
(9, 'L'),
(10, 'M'),
(11, 'XL'),
(12, 'XXL'); |
Partager