-- Boubekri Asma -- -- phpMyAdmin SQL Dump -- version 4.1.4 -- http://www.phpmyadmin.net -- -- Client : 127.0.0.1 -- Généré le : Jeu 28 Novembre 2019 à 20:27 -- Version du serveur : 5.6.15-log -- Version de PHP : 5.4.24 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de données : `gtr2020` -- -- -------------------------------------------------------- -- -- Structure de la table `client` -- CREATE TABLE IF NOT EXISTS `client` ( `codecl` varchar(4) NOT NULL, `nom` varchar(20) NOT NULL, `adresse` varchar(40) NOT NULL, PRIMARY KEY (`codecl`), KEY `codecl` (`codecl`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Structure de la table `commande` -- CREATE TABLE IF NOT EXISTS `commande` ( `numc` int(3) NOT NULL, `datec` date NOT NULL, `codecl` varchar(4) NOT NULL, PRIMARY KEY (`numc`), KEY `numc` (`numc`), KEY `codecl` (`codecl`), KEY `codecl_2` (`codecl`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Structure de la table `intermediaire` -- CREATE TABLE IF NOT EXISTS `intermediaire` ( `numc` int(3) NOT NULL, `nump` int(2) NOT NULL, KEY `numc` (`numc`,`nump`), KEY `nump` (`nump`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Structure de la table `produit` -- CREATE TABLE IF NOT EXISTS `produit` ( `nump` int(2) NOT NULL, `libellep` int(20) NOT NULL, `prixp` decimal(6,0) NOT NULL, `qtedispo` int(3) NOT NULL, PRIMARY KEY (`nump`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;