-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Dec 19, 2019 at 07:31 AM
-- Server version: 5.7.26
-- PHP Version: 7.2.18

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;

--
-- Database: `tp7`
--

-- --------------------------------------------------------

--
-- Table structure for table `etudiant`
--

DROP TABLE IF EXISTS `etudiant`;
CREATE TABLE IF NOT EXISTS `etudiant` (
  `matricule` varchar(12) NOT NULL,
  `nom` varchar(20) NOT NULL,
  PRIMARY KEY (`matricule`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `etudiant`
--

INSERT INTO `etudiant` (`matricule`, `nom`) VALUES
('10', 'Souag'),
('11', 'Abderrahmane');

-- --------------------------------------------------------

--
-- Table structure for table `module`
--

DROP TABLE IF EXISTS `module`;
CREATE TABLE IF NOT EXISTS `module` (
  `numm` int(2) NOT NULL,
  `libelm` varchar(20) NOT NULL,
  `coefnum` int(1) NOT NULL,
  PRIMARY KEY (`numm`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `module`
--

INSERT INTO `module` (`numm`, `libelm`, `coefnum`) VALUES
(1, 'ELN', 2),
(2, 'PROGWEB', 5);

-- --------------------------------------------------------

--
-- Table structure for table `obtient`
--

DROP TABLE IF EXISTS `obtient`;
CREATE TABLE IF NOT EXISTS `obtient` (
  `numm` int(2) NOT NULL,
  `matricule` varchar(12) NOT NULL,
  `note` decimal(5,0) NOT NULL,
  UNIQUE KEY `numm` (`numm`,`matricule`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `obtient`
--

INSERT INTO `obtient` (`numm`, `matricule`, `note`) VALUES
(1, '10', '5'),
(2, '10', '6'),
(1, '11', '15'),
(2, '11', '16');
COMMIT;

/*!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 */;
