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
| CREATE TABLE `sous_produit_prix` (
`id_coul_prod` int(11) NOT NULL AUTO_INCREMENT,
`qte_1` int(11) NOT NULL,
`prix_achat_1` decimal(20,5) NOT NULL,
`prix_vente_1` decimal(20,5) NOT NULL,
`coef_1` decimal(20,5) NOT NULL,
`qte_2` int(11) NOT NULL,
`prix_achat_2` decimal(20,5) NOT NULL,
`prix_vente_2` decimal(20,5) NOT NULL,
`coef_2` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_3` int(11) NOT NULL,
`prix_achat_3` decimal(20,5) NOT NULL,
`prix_vente_3` decimal(20,5) NOT NULL,
`coef_3` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_4` int(11) NOT NULL,
`prix_achat_4` decimal(20,5) NOT NULL,
`prix_vente_4` decimal(20,5) NOT NULL,
`coef_4` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_5` int(11) NOT NULL,
`prix_achat_5` decimal(20,5) NOT NULL,
`prix_vente_5` decimal(20,5) NOT NULL,
`coef_5` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_6` int(11) NOT NULL,
`prix_achat_6` decimal(20,5) NOT NULL,
`prix_vente_6` decimal(20,5) NOT NULL,
`coef_6` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_7` int(11) NOT NULL,
`prix_achat_7` decimal(20,5) NOT NULL,
`prix_vente_7` decimal(20,5) NOT NULL,
`coef_7` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_8` int(11) NOT NULL,
`prix_achat_8` decimal(20,5) NOT NULL,
`prix_vente_8` decimal(20,5) NOT NULL,
`coef_8` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_9` int(11) NOT NULL,
`prix_achat_9` decimal(20,5) NOT NULL,
`prix_vente_9` decimal(20,5) NOT NULL,
`coef_9` decimal(20,5) NOT NULL DEFAULT '1.00000',
`qte_10` int(11) NOT NULL,
`prix_achat_10` decimal(20,5) NOT NULL,
`prix_vente_10` decimal(20,5) NOT NULL,
`coef_10` decimal(20,5) NOT NULL DEFAULT '1.00000',
PRIMARY KEY (`id_coul_prod`)
) ENGINE=MyISAM AUTO_INCREMENT=21809 DEFAULT CHARSET=utf8 |
Partager