Mise à jour de la structure bdd (sid.sql)

This commit is contained in:
xdrm-brackets 2015-10-30 00:02:27 +01:00
parent a77aaa78d0
commit 29f634f5d4
1 changed files with 180 additions and 188 deletions

View File

@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Client: localhost
-- Généré le: Mer 28 Octobre 2015 à 23:11
-- Généré le: Ven 30 Octobre 2015 à 00:01
-- Version du serveur: 5.5.44-0ubuntu0.14.04.1
-- Version de PHP: 5.5.9-1ubuntu4.13
@ -17,7 +17,7 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `sid2`
-- Base de données: `sid`
--
CREATE DATABASE IF NOT EXISTS `sid` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `sid`;
@ -37,17 +37,20 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
KEY `id_etudiant` (`id_etudiant`),
KEY `id_groupe` (`id_groupe`),
KEY `id_semestre` (`id_semestre`),
KEY `identifiant` (`id_etudiant`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
KEY `identifiant` (`id_etudiant`),
KEY `id_etudiant_2` (`id_etudiant`),
KEY `id_groupe_2` (`id_groupe`),
KEY `id_semestre_2` (`id_semestre`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=101 ;
--
-- RELATIONS POUR LA TABLE `appartenance`:
-- `id_semestre`
-- `semestre` -> `id_semestre`
-- `id_etudiant`
-- `utilisateur` -> `identifiant`
-- `id_groupe`
-- `groupe` -> `id_groupe`
-- `id_semestre`
-- `semestre` -> `id_semestre`
--
--
@ -55,106 +58,106 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
--
INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_semestre`) VALUES
(1, 'ydw1981a', 25, 3),
(2, 'ihf1991a', 26, 4),
(3, 'mma1990a', 23, 3),
(4, 'lme1952a', 9, 3),
(5, 'imf1922a', 9, 3),
(6, 'gyy1983a', 28, 4),
(7, 'otm1902a', 28, 4),
(8, 'tnx1949a', 25, 3),
(9, 'sjl1937a', 12, 2),
(10, 'anj1991a', 4, 2),
(11, 'xdh1989a', 6, 4),
(12, 'agl1956a', 11, 1),
(13, 'mhu1946a', 17, 1),
(14, 'cvv1936a', 22, 2),
(15, 'mzh1955a', 27, 4),
(16, 'pdi1904a', 13, 3),
(17, 'cuk1947a', 23, 3),
(18, 'non1968a', 7, 1),
(19, 'hmn1970a', 16, 1),
(20, 'hth1975a', 22, 2),
(21, 'liw1940a', 11, 1),
(22, 'dtg1946a', 6, 4),
(23, 'oxz1985a', 12, 2),
(24, 'ono1984a', 27, 4),
(25, 'auy1966a', 10, 4),
(26, 'dui1946a', 27, 4),
(27, 'cyw1979a', 4, 2),
(28, 'pfv1965a', 11, 1),
(29, 'oqz1937a', 13, 3),
(30, 'aft1950a', 20, 2),
(31, 'bae1943a', 22, 2),
(32, 'kul1903a', 19, 1),
(33, 'rmj1965a', 9, 3),
(34, 'yyt1926a', 16, 1),
(35, 'ktz1997a', 27, 4),
(36, 'hku1995a', 5, 3),
(37, 'zgy1948a', 7, 1),
(38, 'vau1957a', 7, 1),
(39, 'hsx1927a', 5, 3),
(40, 'eca1977a', 11, 1),
(41, 'wpa1966a', 4, 2),
(42, 'qoe1974a', 16, 1),
(43, 'tkz1955a', 7, 1),
(44, 'wnx1995a', 16, 1),
(45, 'sft1994a', 9, 3),
(46, 'vgb1979a', 22, 2),
(47, 'wbt1993a', 11, 1),
(48, 'xtb1903a', 27, 4),
(49, 'msj1985a', 25, 3),
(50, 'wvn1982a', 20, 2),
(51, 'psg1965a', 25, 3),
(52, 'hpa1908a', 24, 3),
(53, 'maq1980a', 21, 2),
(54, 'agq1929a', 28, 4),
(55, 'gwe1975a', 6, 4),
(56, 'gdb1939a', 4, 2),
(57, 'jrc1974a', 17, 1),
(58, 'jfa1965a', 10, 4),
(59, 'buz1982a', 24, 3),
(60, 'mhr1952a', 10, 4),
(61, 'pos1958a', 7, 1),
(62, 'xdi1926a', 11, 1),
(63, 'awl1901a', 25, 3),
(64, 'uix1942a', 7, 1),
(65, 'ngz1932a', 26, 4),
(66, 'kpf1942a', 26, 4),
(67, 'aiv1989a', 23, 3),
(68, 'sjw1936a', 21, 2),
(69, 'fei1944a', 8, 2),
(70, 'zge1937a', 10, 4),
(71, 'rpl1936a', 4, 2),
(72, 'hrv1902a', 12, 2),
(73, 'djo1928a', 5, 3),
(74, 'scm1996a', 13, 3),
(75, 'ylq1926a', 26, 4),
(76, 'eme1913a', 5, 3),
(77, 'otv1930a', 27, 4),
(78, 'cda1951a', 20, 2),
(79, 'eee1933a', 26, 4),
(80, 'kfx1995a', 27, 4),
(81, 'jgd1966a', 19, 1),
(82, 'rwg1909a', 21, 2),
(83, 'ngw1997a', 20, 2),
(84, 'obg1973a', 24, 3),
(85, 'hzg1935a', 14, 4),
(86, 'iyh1918a', 10, 4),
(87, 'tdc1978a', 8, 2),
(88, 'swd1951a', 5, 3),
(89, 'vdj1905a', 12, 2),
(90, 'bit1985a', 8, 2),
(91, 'iah1936a', 6, 4),
(92, 'ypt1989a', 19, 1),
(93, 'ljc1902a', 26, 4),
(94, 'hcc1997a', 24, 3),
(95, 'bky1924a', 11, 1),
(96, 'vul1953a', 12, 2),
(97, 'ssr1906a', 21, 2),
(98, 'yjh1944a', 16, 1),
(99, 'ste1994a', 21, 2),
(100, 'ypo1964a', 9, 3);
(1, 'ydw1981a', 14, 2),
(2, 'ihf1991a', 16, 4),
(3, 'mma1990a', 13, 1),
(4, 'lme1952a', 15, 3),
(5, 'imf1922a', 9, 1),
(6, 'gyy1983a', 4, 4),
(7, 'otm1902a', 14, 2),
(8, 'tnx1949a', 12, 4),
(9, 'sjl1937a', 12, 4),
(10, 'anj1991a', 16, 4),
(11, 'xdh1989a', 20, 4),
(12, 'agl1956a', 3, 3),
(13, 'mhu1946a', 21, 1),
(14, 'cvv1936a', 14, 2),
(15, 'mzh1955a', 22, 2),
(16, 'pdi1904a', 19, 3),
(17, 'cuk1947a', 10, 2),
(18, 'non1968a', 18, 2),
(19, 'hmn1970a', 21, 1),
(20, 'hth1975a', 5, 1),
(21, 'liw1940a', 2, 2),
(22, 'dtg1946a', 18, 2),
(23, 'oxz1985a', 7, 3),
(24, 'ono1984a', 14, 2),
(25, 'auy1966a', 3, 3),
(26, 'dui1946a', 9, 1),
(27, 'cyw1979a', 24, 4),
(28, 'pfv1965a', 3, 3),
(29, 'oqz1937a', 24, 4),
(30, 'aft1950a', 7, 3),
(31, 'bae1943a', 8, 4),
(32, 'kul1903a', 9, 1),
(33, 'rmj1965a', 11, 3),
(34, 'yyt1926a', 21, 1),
(35, 'ktz1997a', 6, 2),
(36, 'hku1995a', 17, 1),
(37, 'zgy1948a', 10, 2),
(38, 'vau1957a', 23, 3),
(39, 'hsx1927a', 19, 3),
(40, 'eca1977a', 11, 3),
(41, 'wpa1966a', 20, 4),
(42, 'qoe1974a', 20, 4),
(43, 'tkz1955a', 11, 3),
(44, 'wnx1995a', 16, 4),
(45, 'sft1994a', 14, 2),
(46, 'vgb1979a', 7, 3),
(47, 'wbt1993a', 19, 3),
(48, 'xtb1903a', 11, 3),
(49, 'msj1985a', 13, 1),
(50, 'wvn1982a', 9, 1),
(51, 'psg1965a', 8, 4),
(52, 'hpa1908a', 5, 1),
(53, 'maq1980a', 19, 3),
(54, 'agq1929a', 5, 1),
(55, 'gwe1975a', 18, 2),
(56, 'gdb1939a', 7, 3),
(57, 'jrc1974a', 14, 2),
(58, 'jfa1965a', 1, 1),
(59, 'buz1982a', 24, 4),
(60, 'mhr1952a', 7, 3),
(61, 'pos1958a', 11, 3),
(62, 'xdi1926a', 7, 3),
(63, 'awl1901a', 1, 1),
(64, 'uix1942a', 7, 3),
(65, 'ngz1932a', 19, 3),
(66, 'kpf1942a', 15, 3),
(67, 'aiv1989a', 21, 1),
(68, 'sjw1936a', 19, 3),
(69, 'fei1944a', 23, 3),
(70, 'zge1937a', 21, 1),
(71, 'rpl1936a', 19, 3),
(72, 'hrv1902a', 22, 2),
(73, 'djo1928a', 9, 1),
(74, 'scm1996a', 5, 1),
(75, 'ylq1926a', 18, 2),
(76, 'eme1913a', 23, 3),
(77, 'otv1930a', 1, 1),
(78, 'cda1951a', 5, 1),
(79, 'eee1933a', 17, 1),
(80, 'kfx1995a', 18, 2),
(81, 'jgd1966a', 3, 3),
(82, 'rwg1909a', 14, 2),
(83, 'ngw1997a', 1, 1),
(84, 'obg1973a', 14, 2),
(85, 'hzg1935a', 12, 4),
(86, 'iyh1918a', 11, 3),
(87, 'tdc1978a', 17, 1),
(88, 'swd1951a', 6, 2),
(89, 'vdj1905a', 14, 2),
(90, 'bit1985a', 19, 3),
(91, 'iah1936a', 1, 1),
(92, 'ypt1989a', 7, 3),
(93, 'ljc1902a', 17, 1),
(94, 'hcc1997a', 7, 3),
(95, 'bky1924a', 22, 2),
(96, 'vul1953a', 1, 1),
(97, 'ssr1906a', 9, 1),
(98, 'yjh1944a', 3, 3),
(99, 'ste1994a', 2, 2),
(100, 'ypo1964a', 7, 3);
-- --------------------------------------------------------
@ -166,7 +169,7 @@ CREATE TABLE IF NOT EXISTS `groupe` (
`id_groupe` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_groupe`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;
--
-- Contenu de la table `groupe`
@ -177,33 +180,28 @@ INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES
(2, 'S2A'),
(3, 'S3A'),
(4, 'S4A'),
(5, 'S1B'),
(6, 'S2B'),
(7, 'S3B'),
(8, 'S4B'),
(9, 'S1C'),
(9, 'S1C'),
(10, 'S2C'),
(11, 'S3C'),
(12, 'S4C'),
(13, 'S1D'),
(14, 'S2D'),
(15, 'S3D'),
(16, 'S4D'),
(17, 'S1E'),
(18, 'S2E'),
(19, 'S3E'),
(20, 'S4E'),
(21, 'S1F'),
(22, 'S2F'),
(23, 'S3F'),
(24, 'S4F');
----------------------------------------------------------
-- --------------------------------------------------------
--
-- Structure de la table `module`
@ -214,32 +212,29 @@ CREATE TABLE IF NOT EXISTS `module` (
`nom` varchar(5) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;
--
-- Contenu de la table `module`
--
INSERT INTO `module` (`id_module`, `nom`, `libelle`) VALUES
(1, 'M1101', 'Bases de l''algorithmique' ), -- S1 - UE1
(2, 'M1102', 'Programmation web' ), -- S1 - UE1
(3, 'M1201', 'Affiche' ), -- S1 - UE2
(4, 'M1202', 'Journal' ), -- S1 - UE2
(5, 'M2101', 'Base de la POO' ), -- S2 - UE1
(6, 'M2102', 'Ada' ), -- S2 - UE1
(7, 'M2201', 'Revue de projet' ), -- S2 - UE2
(8, 'M2202', 'Magazine' ), -- S2 - UE2
(9, 'M3301', 'Algorithmique et structures de données'), -- S3 - UE3
(10, 'M3302', 'POO avancée' ), -- S3 - UE3
(11, 'M3401', 'Curriculum Vitae' ), -- S3 - UE4
(12, 'M3402', 'Lettre de motivation' ), -- S3 - UE4
(13, 'M4301', 'Programmation serveur: PHP' ), -- S4 - UE3
(14, 'M4302', 'Informatique en stage' ), -- S4 - UE3
(15, 'M4401', 'Entretien' ), -- S4 - UE4
(16, 'M4402', 'Communication en stage' ); -- S4 - UE4
(1, 'M1101', 'Bases de l''algorithmique'),
(2, 'M1102', 'Programmation web'),
(3, 'M1201', 'Affiche'),
(4, 'M1202', 'Journal'),
(5, 'M2101', 'Base de la POO'),
(6, 'M2102', 'Ada'),
(7, 'M2201', 'Revue de projet'),
(8, 'M2202', 'Magazine'),
(9, 'M3301', 'Algorithmique et structures de données'),
(10, 'M3302', 'POO avancée'),
(11, 'M3401', 'Curriculum Vitae'),
(12, 'M3402', 'Lettre de motivation'),
(13, 'M4301', 'Programmation serveur: PHP'),
(14, 'M4302', 'Informatique en stage'),
(15, 'M4401', 'Entretien'),
(16, 'M4402', 'Communication en stage');
-- --------------------------------------------------------
@ -251,12 +246,13 @@ CREATE TABLE IF NOT EXISTS `note` (
`id_note` int(11) NOT NULL AUTO_INCREMENT,
`id_appartenance` int(11) NOT NULL,
`id_programme` int(11) NOT NULL,
`intitule` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`valeur` float NOT NULL,
`base` float NOT NULL,
PRIMARY KEY (`id_note`),
KEY `id_programme` (`id_programme`),
KEY `id_appartenance` (`id_appartenance`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;
--
-- RELATIONS POUR LA TABLE `note`:
@ -270,27 +266,27 @@ CREATE TABLE IF NOT EXISTS `note` (
-- Contenu de la table `note`
--
INSERT INTO `note` (`id_note`, `id_appartenance`, `id_programme`, `valeur`, `base`) VALUES
(1, 1, 1, 1, 20), -- 01/20
(2, 1, 1, 2, 20), -- 02/20
(3, 1, 1, 3, 20), -- 03/20
(4, 1, 1, 4, 20), -- 04/20
(5, 1, 1, 5, 20), -- 05/20
(6, 1, 1, 6, 20), -- 06/20
(7, 1, 1, 7, 20), -- 07/20
(8, 1, 1, 8, 20), -- 08/20
(9, 1, 1, 9, 20), -- 09/20
(10, 1, 1, 10, 20), -- 10/20
(11, 1, 1, 11, 20), -- 11/20
(12, 1, 1, 12, 20), -- 12/20
(13, 1, 1, 13, 20), -- 13/20
(14, 1, 1, 14, 20), -- 14/20
(15, 1, 1, 15, 20), -- 15/20
(16, 1, 1, 16, 20), -- 16/20
(17, 1, 1, 17, 20), -- 17/20
(18, 1, 1, 18, 20), -- 18/20
(19, 1, 1, 19, 20), -- 19/20
(20, 1, 1, 20, 20); -- 20/20
INSERT INTO `note` (`id_note`, `id_appartenance`, `id_programme`, `intitule`, `valeur`, `base`) VALUES
(1, 1, 5, 'Partiel', 1, 20),
(2, 1, 6, 'Partiel', 2, 20),
(3, 1, 7, 'Partiel', 3, 20),
(4, 1, 8, 'Partiel', 4, 20),
(5, 1, 5, 'Partiel', 5, 20),
(6, 1, 6, 'Partiel', 6, 20),
(7, 1, 7, 'Partiel', 7, 20),
(8, 1, 8, 'Partiel', 8, 20),
(9, 9, 5, 'Partiel', 9, 20),
(10, 10, 5, 'Partiel', 10, 20),
(11, 11, 5, 'Partiel', 11, 20),
(12, 12, 5, 'Partiel', 12, 20),
(13, 13, 5, 'Partiel', 13, 20),
(14, 14, 5, 'Partiel', 14, 20),
(15, 15, 5, 'Partiel', 15, 20),
(16, 16, 5, 'Partiel', 16, 20),
(17, 17, 5, 'Partiel', 17, 20),
(18, 18, 5, 'Partiel', 18, 20),
(19, 19, 5, 'Partiel', 19, 20),
(20, 20, 5, 'Partiel', 20, 20);
-- --------------------------------------------------------
@ -307,7 +303,7 @@ CREATE TABLE IF NOT EXISTS `programme` (
KEY `id_module` (`id_module`),
KEY `id_ue` (`id_ue`),
KEY `id_semestre` (`id_semestre`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;
--
-- RELATIONS POUR LA TABLE `programme`:
@ -324,25 +320,22 @@ CREATE TABLE IF NOT EXISTS `programme` (
--
INSERT INTO `programme` (`id_programme`, `id_module`, `id_ue`, `id_semestre`) VALUES
(1, 1, 1, 1), -- M1101 - UE1 - S1
(2, 2, 1, 1), -- M1102 - UE1 - S1
(3, 3, 2, 1), -- M1201 - UE2 - S1
(4, 4, 2, 1), -- M1202 - UE2 - S1
(5, 5, 1, 2), -- M2101 - UE1 - S2
(6, 6, 1, 2), -- M2102 - UE1 - S2
(7, 7, 2, 2), -- M2201 - UE2 - S2
(8, 8, 2, 2), -- M2202 - UE2 - S2
(9, 9, 3, 3), -- M3301 - UE3 - S3
(10, 10, 3, 3), -- M3302 - UE3 - S3
(11, 11, 4, 3), -- M3401 - UE4 - S3
(12, 12, 4, 3), -- M3402 - UE4 - S3
(13, 13, 3, 4), -- M4301 - UE3 - S4
(14, 14, 3, 4), -- M4302 - UE3 - S4
(15, 15, 4, 4), -- M4401 - UE4 - S4
(16, 16, 4, 4); -- M4402 - UE4 - S4
(1, 1, 1, 1),
(2, 2, 1, 1),
(3, 3, 2, 1),
(4, 4, 2, 1),
(5, 5, 1, 2),
(6, 6, 1, 2),
(7, 7, 2, 2),
(8, 8, 2, 2),
(9, 9, 3, 3),
(10, 10, 3, 3),
(11, 11, 4, 3),
(12, 12, 4, 3),
(13, 13, 3, 4),
(14, 14, 3, 4),
(15, 15, 4, 4),
(16, 16, 4, 4);
-- --------------------------------------------------------
@ -357,7 +350,7 @@ CREATE TABLE IF NOT EXISTS `semestre` (
`annee` year(4) NOT NULL,
PRIMARY KEY (`id_semestre`),
UNIQUE KEY `rang` (`rang`,`annee`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;
--
-- Contenu de la table `semestre`
@ -368,8 +361,7 @@ INSERT INTO `semestre` (`id_semestre`, `nom`, `rang`, `annee`) VALUES
(2, 'S2', 2, 2015),
(3, 'S3', 3, 2015),
(4, 'S4', 4, 2015),
(5, 'S1', 0, 2016),
(5, 'S1', 1, 2016),
(6, 'S2', 2, 2016),
(7, 'S3', 3, 2016),
(8, 'S4', 4, 2016);
@ -385,7 +377,7 @@ CREATE TABLE IF NOT EXISTS `ue` (
`nom` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_ue`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Contenu de la table `ue`
@ -528,24 +520,24 @@ INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `mail`, `mdp`, `droit
-- Contraintes pour la table `appartenance`
--
ALTER TABLE `appartenance`
ADD CONSTRAINT `appartenance_id_etudiant` FOREIGN KEY (`id_etudiant`) REFERENCES `utilisateur` (`identifiant`),
ADD CONSTRAINT `appartenance_id_groupe` FOREIGN KEY (`id_groupe`) REFERENCES `groupe` (`id_groupe`),
ADD CONSTRAINT `appartenance_id_semestre` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`);
ADD CONSTRAINT `appartenance_ibfk_3` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`),
ADD CONSTRAINT `appartenance_ibfk_1` FOREIGN KEY (`id_etudiant`) REFERENCES `utilisateur` (`identifiant`),
ADD CONSTRAINT `appartenance_ibfk_2` FOREIGN KEY (`id_groupe`) REFERENCES `groupe` (`id_groupe`);
--
-- Contraintes pour la table `note`
--
ALTER TABLE `note`
ADD CONSTRAINT `note_id_appartenance` FOREIGN KEY (`id_appartenance`) REFERENCES `appartenance` (`id_appartenance`),
ADD CONSTRAINT `note_id_programme` FOREIGN KEY (`id_programme`) REFERENCES `programme` (`id_programme`);
ADD CONSTRAINT `note_ibfk_1` FOREIGN KEY (`id_appartenance`) REFERENCES `appartenance` (`id_appartenance`),
ADD CONSTRAINT `note_ibfk_2` FOREIGN KEY (`id_programme`) REFERENCES `programme` (`id_programme`);
--
-- Contraintes pour la table `programme`
--
ALTER TABLE `programme`
ADD CONSTRAINT `programme_id_semestre` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`),
ADD CONSTRAINT `programme_id_module` FOREIGN KEY (`id_module`) REFERENCES `module` (`id_module`),
ADD CONSTRAINT `programme_id_ue` FOREIGN KEY (`id_ue`) REFERENCES `ue` (`id_ue`);
ADD CONSTRAINT `programme_ibfk_3` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`),
ADD CONSTRAINT `programme_ibfk_1` FOREIGN KEY (`id_module`) REFERENCES `module` (`id_module`),
ADD CONSTRAINT `programme_ibfk_2` FOREIGN KEY (`id_ue`) REFERENCES `ue` (`id_ue`);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;