From 89e70c724ffabeaa9a252a01ec4e3297ae6d10a7 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 31 Oct 2015 12:00:24 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20table=20"enseignement"=20qui?= =?UTF-8?q?=20attribue=20un=20enseignant=20=C3=A0=20un=20programme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xdoc/requêtes_sql_types.sql | 84 ++++++++++++- xdoc/sid.sql | 245 +++++++++++++++++++++--------------- 2 files changed, 225 insertions(+), 104 deletions(-) diff --git a/xdoc/requêtes_sql_types.sql b/xdoc/requêtes_sql_types.sql index 850a4ba..74638d8 100755 --- a/xdoc/requêtes_sql_types.sql +++ b/xdoc/requêtes_sql_types.sql @@ -12,7 +12,7 @@ * ****************************************************************************************************************************************** * - * [ETUDIANT] || [ADMIN] || [PROF] + * [ETUDIANT] || [ADMIN] || [ENSEIGNANT] * + identifiant (mrd1609a) * + prenom (adrien) * + nom (LIGOU-MARQUES) @@ -51,6 +51,12 @@ * + id_ue (3) => UE3 * + id_module (39) => M3305 * + * [ENSEIGNE] + * + id_enseignement (++) + * + id_enseignant (utilisateur.identifiant) + * + id_programme (10) => M2103 UE1 semestre 2 année 2015 + * + correcteur (true) + * * [NOTE] * + id_note (++) * + id_etudiant (mrd1609a) @@ -64,6 +70,7 @@ * * [NOTE] est définie pour une [APPARTENANCE] ([ETUDIANT] dans un [GROUPE] un [SEMESTRE]) dans un [PROGRAMME] ([MODULE] d'un [UE] lors d'un [SEMESTRE]) * + * [ENSEIGNANT] enseigne un [PROGRAMME] ([MODULE] d'un [UE] lors d'un [SEMESTRE]) * * * @@ -189,4 +196,77 @@ FROM note as n, module as m, programme as prog, appartenance as app WHERE prog.id_module = m.id_module AND prog.id_programme = n.id_programme AND n.id_appartenance = app.id_appartenance -ORDER BY m.nom, app.id_etudiant, n.valeur ASC; \ No newline at end of file +ORDER BY m.nom, app.id_etudiant, n.valeur ASC; + + + +/***************** ENSEIGNANT *******************/ + +/*******************************/ +/*** AFFICHE LES ENSEIGNANTS ***/ +/*******************************/ +SELECT DISTINCT u.identifiant, u.prenom, u.nom +FROM utilisateur as u +WHERE u.droits >= 1 +ORDER BY u.identifiant, u.prenom, u.nom ASC; + +/*******************************************/ +/*** AFFICHE LES MODULES D'UN ENSEIGNANT ***/ +/*******************************************/ +SELECT DISTINCT u.prenom, u.nom, m.nom, m.libelle +FROM module as m, utilisateur as u, enseignement as e, programme as prog, semestre as s +WHERE prog.id_module = m.id_module +AND prog.id_semestre = s.id_semestre +AND prog.id_programme = e.id_programme +AND e.id_enseignant = u.identifiant + +AND s.annee = 2015 +ORDER BY u.prenom, u.nom, m.nom, m.libelle ASC; + +/***************************************************/ +/*** AFFICHE LE NOMBRE DE MODULES PAR ENSEIGNANT ***/ +/***************************************************/ +SELECT DISTINCT u.prenom, u.nom, count(distinct m.id_module) as nb_modules +FROM module as m, utilisateur as u, enseignement as e, programme as prog, semestre as s +WHERE prog.id_module = m.id_module +AND prog.id_semestre = s.id_semestre +AND prog.id_programme = e.id_programme +AND e.id_enseignant = u.identifiant + +AND s.annee = 2015 + +GROUP BY u.identifiant +ORDER BY u.prenom, u.nom, m.nom, m.libelle ASC; + + +/***************************************************/ +/*** AFFICHE LES GROUPES PAR MODULES PAR ENSEIGNANT ***/ +/***************************************************/ +SELECT DISTINCT u.prenom, u.nom, m.nom as module, g.nom as groupe +FROM module as m, utilisateur as u, enseignement as e, programme as prog, appartenance as app, semestre as s, groupe as g +WHERE prog.id_module = m.id_module +AND prog.id_semestre = s.id_semestre +AND prog.id_programme = e.id_programme +AND e.id_enseignant = u.identifiant +AND app.id_semestre = s.id_semestre +AND app.id_groupe = g.id_groupe + +AND s.annee = 2015 +ORDER BY u.prenom, u.nom, m.nom, g.nom ASC; + +/***************************************************************/ +/*** AFFICHE LE NOMBRE DE GROUPES PAR MODULES PAR ENSEIGNANT ***/ +/***************************************************************/ +SELECT DISTINCT u.prenom, u.nom, m.nom as module, count(distinct g.id_groupe) as nb_groupe +FROM module as m, utilisateur as u, enseignement as e, programme as prog, appartenance as app, semestre as s, groupe as g +WHERE prog.id_module = m.id_module +AND prog.id_semestre = s.id_semestre +AND prog.id_programme = e.id_programme +AND e.id_enseignant = u.identifiant +AND app.id_semestre = s.id_semestre +AND app.id_groupe = g.id_groupe + +AND s.annee = 2015 + +GROUP BY u.identifiant, m.id_module +ORDER BY u.prenom, u.nom, m.nom, g.nom ASC; \ No newline at end of file diff --git a/xdoc/sid.sql b/xdoc/sid.sql index 88017dd..d30ea9e 100755 --- a/xdoc/sid.sql +++ b/xdoc/sid.sql @@ -3,7 +3,7 @@ -- http://www.phpmyadmin.net -- -- Client: localhost --- Généré le: Ven 30 Octobre 2015 à 00:01 +-- Généré le: Sam 31 Octobre 2015 à 11:59 -- Version du serveur: 5.5.44-0ubuntu0.14.04.1 -- Version de PHP: 5.5.9-1ubuntu4.13 @@ -58,7 +58,7 @@ CREATE TABLE IF NOT EXISTS `appartenance` ( -- INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_semestre`) VALUES -(1, 'ydw1981a', 14, 2), +(1, 'mrd1609a', 14, 2), (2, 'ihf1991a', 16, 4), (3, 'mma1990a', 13, 1), (4, 'lme1952a', 15, 3), @@ -161,6 +161,38 @@ INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_s -- -------------------------------------------------------- +-- +-- Structure de la table `enseignement` +-- + +CREATE TABLE IF NOT EXISTS `enseignement` ( + `id_enseignement` int(11) NOT NULL AUTO_INCREMENT, + `id_enseignant` varchar(8) NOT NULL, + `id_programme` int(11) NOT NULL, + `correcteur` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id_enseignement`), + KEY `id_enseignant` (`id_enseignant`), + KEY `id_programme` (`id_programme`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; + +-- +-- RELATIONS POUR LA TABLE `enseignement`: +-- `id_programme` +-- `programme` -> `id_programme` +-- `id_enseignant` +-- `utilisateur` -> `identifiant` +-- + +-- +-- Contenu de la table `enseignement` +-- + +INSERT INTO `enseignement` (`id_enseignement`, `id_enseignant`, `id_programme`, `correcteur`) VALUES +(1, 'lbh1609a', 5, 0), +(2, 'lbh1609a', 10, 1); + +-- -------------------------------------------------------- + -- -- Structure de la table `groupe` -- @@ -411,106 +443,108 @@ CREATE TABLE IF NOT EXISTS `utilisateur` ( -- INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `mail`, `mdp`, `droits`) VALUES -('aft1950a', 'Rachel', 'DAVENPORT', 'rachel.davenport@etu.iut-tlse3.fr', '68724b2da1b628fd37116d3abae9c4233aa9fa56', 'stud'), -('agl1956a', 'Cruz', 'HOWE', 'cruz.howe@etu.iut-tlse3.fr', 'c3f22ac779a9e0e276acdc9933cdcdb2f054e317', 'stud'), -('agq1929a', 'Althea', 'POOLE', 'althea.poole@etu.iut-tlse3.fr', 'f20feea8f16e481683d420f8c97c4366d4941f4c', 'stud'), -('aiv1989a', 'Concetta', 'ROBLES', 'concetta.robles@etu.iut-tlse3.fr', 'e3e642e4b47a582f3a4b3e20c4d9bf612add1824', 'stud'), -('anj1991a', 'Katie', 'GUTIERREZ', 'katie.gutierrez@etu.iut-tlse3.fr', '0e2a184f4a27976f6648dbad6f33ffaba193c190', 'stud'), -('auy1966a', 'Bobbi', 'PRATT', 'bobbi.pratt@etu.iut-tlse3.fr', 'bd01c0a7d116ac61a12cddf768de4384cb2ed382', 'stud'), -('awl1901a', 'Clare', 'ROLLINS', 'clare.rollins@etu.iut-tlse3.fr', '0294ff411362354abbad41829c27b5d42cbc4388', 'stud'), -('bae1943a', 'Shaw', 'GOFF', 'shaw.goff@etu.iut-tlse3.fr', '99636e590508ed14336cf5847dcd24302bd86908', 'stud'), -('bit1985a', 'Rosalind', 'FISHER', 'rosalind.fisher@etu.iut-tlse3.fr', 'bbba4cd89896d2d6bf5c8d33ce3b4af025d6165d', 'stud'), -('bky1924a', 'Gena', 'ENGLAND', 'gena.england@etu.iut-tlse3.fr', '89805c2213710c0f7c03954d1fb171b3aba3c107', 'stud'), -('buz1982a', 'Kemp', 'JACOBS', 'kemp.jacobs@etu.iut-tlse3.fr', 'eda25de06910b9bbeeebcd81421093f1163d5a2c', 'stud'), -('cda1951a', 'Mcpherson', 'ANTHONY', 'mcpherson.anthony@etu.iut-tlse3.fr', '928e8e07046c74f035b0bd0f84a6463133890006', 'stud'), -('cuk1947a', 'Baxter', 'HERRERA', 'baxter.herrera@etu.iut-tlse3.fr', '1e0927db69476aa8dad0e2f0b360aa142800b66c', 'stud'), -('cvv1936a', 'Kayla', 'CANTRELL', 'kayla.cantrell@etu.iut-tlse3.fr', '7c9976507ec461d729f8e48ccdf5b8e8418ae6fa', 'stud'), -('cyw1979a', 'Zamora', 'RIDDLE', 'zamora.riddle@etu.iut-tlse3.fr', '747582c758969846527f612f05ac525a82f2d67f', 'stud'), -('djo1928a', 'Vaughn', 'DURHAM', 'vaughn.durham@etu.iut-tlse3.fr', 'cd6d4eb78a2f2b4228913d8ca89ab95fba17a953', 'stud'), -('dtg1946a', 'Ruiz', 'WILKERSON', 'ruiz.wilkerson@etu.iut-tlse3.fr', '61fa79da89021355623584247fc5597b4a811c4a', 'stud'), -('dui1946a', 'Burns', 'COMPTON', 'burns.compton@etu.iut-tlse3.fr', '7efa228dda0181027eff80368fe5426321ffa40e', 'stud'), -('eca1977a', 'Hope', 'WILSON', 'hope.wilson@etu.iut-tlse3.fr', 'aa9f150450bed0a9c47d6d1b412e9af032da8fa9', 'stud'), -('eee1933a', 'Stacey', 'LITTLE', 'stacey.little@etu.iut-tlse3.fr', '31b9ae5ec7027c386807ca2e8212dcc26c3b087e', 'stud'), -('eme1913a', 'Booth', 'HENRY', 'booth.henry@etu.iut-tlse3.fr', '86fb4f37792e36d800265554310d21e59d624d4d', 'stud'), -('fei1944a', 'Esperanza', 'TERRELL', 'esperanza.terrell@etu.iut-tlse3.fr', '9800cde34ddf1e24c2b1e31f84d72f2f9de753c8', 'stud'), -('gdb1939a', 'Kate', 'NOEL', 'kate.noel@etu.iut-tlse3.fr', '918bcf2e3ffccb2bd18290a67bcbada6921c8ba3', 'stud'), -('gwe1975a', 'Helen', 'HICKS', 'helen.hicks@etu.iut-tlse3.fr', 'd5578ae52d8b9429a411fe6824f79aa2e4ba4295', 'stud'), -('gyy1983a', 'Merrill', 'WALTER', 'merrill.walter@etu.iut-tlse3.fr', '2d6450fb04820591c34d6e470d8d16cc129ed634', 'stud'), -('hcc1997a', 'Madeline', 'MARKS', 'madeline.marks@etu.iut-tlse3.fr', '193e0b1555ac578b13b6f02b4b2c6b8c0576a2cd', 'stud'), -('hku1995a', 'Roslyn', 'MURPHY', 'roslyn.murphy@etu.iut-tlse3.fr', 'a2c17932dcc6a628601a86bd02e5e6110b774205', 'stud'), -('hmn1970a', 'Levy', 'ARMSTRONG', 'levy.armstrong@etu.iut-tlse3.fr', '85eed5e07ad380224e3dff9c68631436fc5e0580', 'stud'), -('hpa1908a', 'Jacklyn', 'BYRD', 'jacklyn.byrd@etu.iut-tlse3.fr', '50c850d3d6c6e8b5277f58f59c206d7ed685b8f9', 'stud'), -('hrv1902a', 'Irwin', 'HOUSTON', 'irwin.houston@etu.iut-tlse3.fr', '99ab47f6cce9313bb631d892d3a192420df1ba43', 'stud'), -('hsx1927a', 'Irene', 'MONROE', 'irene.monroe@etu.iut-tlse3.fr', '7fa7e7fcbb03c0be72583f2d1bfc41720f2274f1', 'stud'), -('hth1975a', 'Pruitt', 'FERGUSON', 'pruitt.ferguson@etu.iut-tlse3.fr', '562802653c96a2e3d2523fb6f38df8c42a6c70a2', 'stud'), -('hzg1935a', 'Clarice', 'ORTEGA', 'clarice.ortega@etu.iut-tlse3.fr', '8c50183063238ec8218d0959c71f3315715102be', 'stud'), -('iah1936a', 'Franklin', 'SLATER', 'franklin.slater@etu.iut-tlse3.fr', 'c4b7e3ae38056aa7b5a492b5ae4d6822bbc4f04b', 'stud'), -('ihf1991a', 'Robinson', 'MCGEE', 'robinson.mcgee@etu.iut-tlse3.fr', '4aeeee2100e584893c71d32ebcb5b4837f3e2e1a', 'stud'), -('imf1922a', 'Hawkins', 'PATTERSON', 'hawkins.patterson@etu.iut-tlse3.fr', '05ef138dfd9464af5ca7ddb1e6fc5d38a5d256dc', 'stud'), -('iyh1918a', 'Tucker', 'TRAN', 'tucker.tran@etu.iut-tlse3.fr', '70e3a6e9f775731a6dc43044576feb6acf4739bd', 'stud'), -('jfa1965a', 'Lolita', 'FARRELL', 'lolita.farrell@etu.iut-tlse3.fr', '1a5d44889500c4f04f076836691d9ccea4c56cff', 'stud'), -('jgd1966a', 'Janelle', 'BURKS', 'janelle.burks@etu.iut-tlse3.fr', '83cbc892278c1d7aab3214383b272a2677a39f01', 'stud'), -('jrc1974a', 'Pierce', 'CHURCH', 'pierce.church@etu.iut-tlse3.fr', '0bf72260769a364574bebe43a0e2d40f0b42918a', 'stud'), -('kfx1995a', 'Mitzi', 'SCHROEDER', 'mitzi.schroeder@etu.iut-tlse3.fr', 'ea085dda880c523b14c1d9c24bfe8479901d90bf', 'stud'), -('kpf1942a', 'Strickland', 'ROACH', 'strickland.roach@etu.iut-tlse3.fr', '49ae8a41825e039415fc5403721a08bf849675dd', 'stud'), -('ktz1997a', 'Mcgowan', 'COHEN', 'mcgowan.cohen@etu.iut-tlse3.fr', '77f2eb9b0cd9702671799b4016e115fe185b44da', 'stud'), -('kul1903a', 'Magdalena', 'SIMON', 'magdalena.simon@etu.iut-tlse3.fr', 'a364c06c6bc0883322fe0b8fecf70379187e85de', 'stud'), -('liw1940a', 'Middleton', 'WATERS', 'middleton.waters@etu.iut-tlse3.fr', '406a96ab06f805166e3ef4809e5b8aefd3fa422a', 'stud'), -('ljc1902a', 'Lisa', 'CLEMENTS', 'lisa.clements@etu.iut-tlse3.fr', '8b554a1fdc6fa3c07988a523bf411c90c1b647f7', 'stud'), -('lme1952a', 'Hollie', 'GILLIAM', 'hollie.gilliam@etu.iut-tlse3.fr', '3f7b0669e6d2a9df317c89d9947b8b2c724278f5', 'stud'), -('maq1980a', 'Cook', 'DUNN', 'cook.dunn@etu.iut-tlse3.fr', '9a35d39268d9ba001290d4ad62de2e8d3da645dc', 'stud'), -('mhr1952a', 'Socorro', 'BLAIR', 'socorro.blair@etu.iut-tlse3.fr', '007a09dbff0959962f7aca117f55e125d77658c4', 'stud'), -('mhu1946a', 'Edna', 'GREEN', 'edna.green@etu.iut-tlse3.fr', 'a2be4db796235e6ee539d8a96a692fc1936957db', 'stud'), -('mma1990a', 'Williamson', 'HATFIELD', 'williamson.hatfield@etu.iut-tlse3.fr', 'b00d282627610321925b6573ecf55242491e4382', 'stud'), -('msj1985a', 'Ball', 'AVILA', 'ball.avila@etu.iut-tlse3.fr', 'a65d0ad5230a8e62f691ad1f2f95a3c65f1c03dd', 'stud'), -('mzh1955a', 'Leblanc', 'WHEELER', 'leblanc.wheeler@etu.iut-tlse3.fr', 'd5711bb21c243770c254b30fc2fb429b06bbfaf0', 'stud'), -('ngw1997a', 'Booker', 'LOPEZ', 'booker.lopez@etu.iut-tlse3.fr', 'a0feaf0e9ec8f18cfc3cc8eaa0a4af131c5c91d7', 'stud'), -('ngz1932a', 'Faye', 'PAYNE', 'faye.payne@etu.iut-tlse3.fr', '166e4a0172787e784c6835ed07d34a550b61b986', 'stud'), -('non1968a', 'Foster', 'TILLMAN', 'foster.tillman@etu.iut-tlse3.fr', '3a3f8d8ddbf68fa1e366cd87d20357f05fa09f45', 'stud'), -('obg1973a', 'Lynch', 'CHANDLER', 'lynch.chandler@etu.iut-tlse3.fr', 'a10d3ba3eacf95b418fe2c108492ea41ad83fc9e', 'stud'), -('ono1984a', 'Kitty', 'SANFORD', 'kitty.sanford@etu.iut-tlse3.fr', '2100f892c9e0c1a0ce35e444d969b2bdf9de9d6b', 'stud'), -('oqz1937a', 'Morse', 'MICHAEL', 'morse.michael@etu.iut-tlse3.fr', '2edfedd459e1b63bf637184c4ee4a978f0c8e41e', 'stud'), -('otm1902a', 'Woods', 'DEJESUS', 'woods.dejesus@etu.iut-tlse3.fr', '8d3a059e7df1744e6e342dad660adeb3675d42d1', 'stud'), -('otv1930a', 'Odonnell', 'BEASLEY', 'odonnell.beasley@etu.iut-tlse3.fr', 'b55e173984ef282d1bbfb1cf441b1c702533ac87', 'stud'), -('oxz1985a', 'Paul', 'GROSS', 'paul.gross@etu.iut-tlse3.fr', '5ba7159ed8bea08ff0c6b25f47c979f2e3b9e1a5', 'stud'), -('pdi1904a', 'Brady', 'ASHLEY', 'brady.ashley@etu.iut-tlse3.fr', '48c9adaa6687ec1f896675cd7dd262c6b38c2b44', 'stud'), -('pfv1965a', 'Francine', 'COMBS', 'francine.combs@etu.iut-tlse3.fr', 'a6ba94eec7357d691231ce8b7940d86ae2cb94a9', 'stud'), -('pos1958a', 'Juliana', 'FULLER', 'juliana.fuller@etu.iut-tlse3.fr', 'bd4300a1779af89b2c87863384d7ab4c93d922ad', 'stud'), -('psg1965a', 'Knapp', 'STEPHENS', 'knapp.stephens@etu.iut-tlse3.fr', '4e24185809f6d19ab25469582b340d1d98d1478a', 'stud'), -('qoe1974a', 'Raquel', 'CUNNINGHAM', 'raquel.cunningham@etu.iut-tlse3.fr', '5670da6f0a600ea148705e8dfe87921b35bc24dc', 'stud'), -('rmj1965a', 'Bridges', 'ROSALES', 'bridges.rosales@etu.iut-tlse3.fr', 'ffa1cf9f81059b83a1a05fe7408867027decf767', 'stud'), -('rpl1936a', 'Tamera', 'MOSES', 'tamera.moses@etu.iut-tlse3.fr', 'd7f0216bd90b84f878bf562f473875e500d6ae40', 'stud'), -('rwg1909a', 'Kelly', 'WALLACE', 'kelly.wallace@etu.iut-tlse3.fr', '28356092e4722e7d40d761db1b2a3e4178c0e8a1', 'stud'), -('scm1996a', 'Dotson', 'SANDOVAL', 'dotson.sandoval@etu.iut-tlse3.fr', '3d2818a46340435822af94d9736bfad7ad1ecd4b', 'stud'), -('sft1994a', 'Norris', 'BROCK', 'norris.brock@etu.iut-tlse3.fr', 'fcfd756acef2869bb15d72b877ccd9eed675fd26', 'stud'), -('sjl1937a', 'English', 'POPE', 'english.pope@etu.iut-tlse3.fr', 'a5536a593633b1d610e976985d3be1fc27999e4d', 'stud'), -('sjw1936a', 'Cross', 'MEYERS', 'cross.meyers@etu.iut-tlse3.fr', '8571d7564e2a196feb0841fd8474754d0032721c', 'stud'), -('ssr1906a', 'Howell', 'FAULKNER', 'howell.faulkner@etu.iut-tlse3.fr', '073de42d66740dfd2beec792e63806a7147fa087', 'stud'), -('ste1994a', 'Allison', 'CALLAHAN', 'allison.callahan@etu.iut-tlse3.fr', 'a5f1074db3275a128b57d99c8a48a557297084c9', 'stud'), -('swd1951a', 'Jenny', 'GRAHAM', 'jenny.graham@etu.iut-tlse3.fr', 'ae8ffe6506ca1863cee65fc4402bb5dd6e563d4b', 'stud'), -('tdc1978a', 'Bird', 'TRAVIS', 'bird.travis@etu.iut-tlse3.fr', '4a10508dd7f87089a321fc07ff63a8269a427bcb', 'stud'), -('tkz1955a', 'Nora', 'BREWER', 'nora.brewer@etu.iut-tlse3.fr', '6695f488b7caf712423e5f090707058b5af0798d', 'stud'), -('tnx1949a', 'Dejesus', 'WALTON', 'dejesus.walton@etu.iut-tlse3.fr', '830e567e1f570e0b90ae23488e1aaa11142ec4a6', 'stud'), -('uix1942a', 'Kristen', 'GIBSON', 'kristen.gibson@etu.iut-tlse3.fr', '66fa9b0c1e377689bde5992b7ce9f8a88b394693', 'stud'), -('vau1957a', 'Kathy', 'STOUT', 'kathy.stout@etu.iut-tlse3.fr', '7149c984ea57994e5306ce3c4026064a776de1d4', 'stud'), -('vdj1905a', 'Dean', 'ESPINOZA', 'dean.espinoza@etu.iut-tlse3.fr', 'fde91e6c0086ecda41e08a683eb6df56c7739371', 'stud'), -('vgb1979a', 'Baird', 'FORD', 'baird.ford@etu.iut-tlse3.fr', '66eb6f8e8634e210729fcf25dfa32ca17bf401c3', 'stud'), -('vul1953a', 'Robyn', 'BATES', 'robyn.bates@etu.iut-tlse3.fr', '6421ed3a69005e0de9ab025db4617a5a2d125682', 'stud'), -('wbt1993a', 'Goodman', 'PAUL', 'goodman.paul@etu.iut-tlse3.fr', '282c5d93f43a3960e840b410f95b4c598e8a9340', 'stud'), -('wnx1995a', 'Lorraine', 'PADILLA', 'lorraine.padilla@etu.iut-tlse3.fr', '6f38a397c9c7e5b3aceab87e63da5533fa612459', 'stud'), -('wpa1966a', 'Collier', 'ENGLISH', 'collier.english@etu.iut-tlse3.fr', 'fd63ff8eefa080cbecb52b68dc3cf264cf121fe3', 'stud'), -('wvn1982a', 'Sears', 'WELCH', 'sears.welch@etu.iut-tlse3.fr', '39b49c655ec584119306086db59253cf3a171f42', 'stud'), -('xdh1989a', 'Rasmussen', 'PAGE', 'rasmussen.page@etu.iut-tlse3.fr', '51240c864a1efe510e150f5789889dd7b1173e9c', 'stud'), -('xdi1926a', 'Ferrell', 'SALAS', 'ferrell.salas@etu.iut-tlse3.fr', '50a8f5265f56c9a30816379dd91d26870c9b649b', 'stud'), -('xtb1903a', 'Kelly', 'FLYNN', 'kelly.flynn@etu.iut-tlse3.fr', '270b848d2e7ecb404a3816219bcfc32dafed8477', 'stud'), -('ydw1981a', 'Glenda', 'WILKINSON', 'glenda.wilkinson@etu.iut-tlse3.fr', '594ca97b532fa21cc524792f2d00a2720b010191', 'stud'), -('yjh1944a', 'Thompson', 'SOLIS', 'thompson.solis@etu.iut-tlse3.fr', '303925d37b3d505b6162bd0222bd654dc06327a9', 'stud'), -('ylq1926a', 'Stein', 'SILVA', 'stein.silva@etu.iut-tlse3.fr', '9d4517cb3cec7bae1957f4026db777e33ccc097d', 'stud'), -('ypo1964a', 'Marylou', 'HOPKINS', 'marylou.hopkins@etu.iut-tlse3.fr', 'b72c606e9f02d46fbd29da132d96bbdbbffabf35', 'stud'), -('ypt1989a', 'Simon', 'MORALES', 'simon.morales@etu.iut-tlse3.fr', '552b82ca9e6d6b6f661e66d7af0a380e00d52625', 'stud'), -('yyt1926a', 'Bryant', 'CHANEY', 'bryant.chaney@etu.iut-tlse3.fr', '5a962df24a9b04ed8a56c02a68d8dfc5e9435abe', 'stud'), -('zge1937a', 'Ella', 'GARZA', 'ella.garza@etu.iut-tlse3.fr', '927065354ae8e224f43f6eb9578b5c7c9750461b', 'stud'), -('zgy1948a', 'Emily', 'ALVARADO', 'emily.alvarado@etu.iut-tlse3.fr', '34ad81180ba7cfa510101af8abe47a558e46858a', 'stud'); +('aft1950a', 'Rachel', 'DAVENPORT', 'rachel.davenport@etu.iut-tlse3.fr', '68724b2da1b628fd37116d3abae9c4233aa9fa56', '0'), +('agl1956a', 'Cruz', 'HOWE', 'cruz.howe@etu.iut-tlse3.fr', 'c3f22ac779a9e0e276acdc9933cdcdb2f054e317', '0'), +('agq1929a', 'Althea', 'POOLE', 'althea.poole@etu.iut-tlse3.fr', 'f20feea8f16e481683d420f8c97c4366d4941f4c', '0'), +('aiv1989a', 'Concetta', 'ROBLES', 'concetta.robles@etu.iut-tlse3.fr', 'e3e642e4b47a582f3a4b3e20c4d9bf612add1824', '0'), +('anj1991a', 'Katie', 'GUTIERREZ', 'katie.gutierrez@etu.iut-tlse3.fr', '0e2a184f4a27976f6648dbad6f33ffaba193c190', '0'), +('auy1966a', 'Bobbi', 'PRATT', 'bobbi.pratt@etu.iut-tlse3.fr', 'bd01c0a7d116ac61a12cddf768de4384cb2ed382', '0'), +('awl1901a', 'Clare', 'ROLLINS', 'clare.rollins@etu.iut-tlse3.fr', '0294ff411362354abbad41829c27b5d42cbc4388', '0'), +('bae1943a', 'Shaw', 'GOFF', 'shaw.goff@etu.iut-tlse3.fr', '99636e590508ed14336cf5847dcd24302bd86908', '0'), +('bit1985a', 'Rosalind', 'FISHER', 'rosalind.fisher@etu.iut-tlse3.fr', 'bbba4cd89896d2d6bf5c8d33ce3b4af025d6165d', '0'), +('bky1924a', 'Gena', 'ENGLAND', 'gena.england@etu.iut-tlse3.fr', '89805c2213710c0f7c03954d1fb171b3aba3c107', '0'), +('buz1982a', 'Kemp', 'JACOBS', 'kemp.jacobs@etu.iut-tlse3.fr', 'eda25de06910b9bbeeebcd81421093f1163d5a2c', '0'), +('cda1951a', 'Mcpherson', 'ANTHONY', 'mcpherson.anthony@etu.iut-tlse3.fr', '928e8e07046c74f035b0bd0f84a6463133890006', '0'), +('cuk1947a', 'Baxter', 'HERRERA', 'baxter.herrera@etu.iut-tlse3.fr', '1e0927db69476aa8dad0e2f0b360aa142800b66c', '0'), +('cvv1936a', 'Kayla', 'CANTRELL', 'kayla.cantrell@etu.iut-tlse3.fr', '7c9976507ec461d729f8e48ccdf5b8e8418ae6fa', '0'), +('cyw1979a', 'Zamora', 'RIDDLE', 'zamora.riddle@etu.iut-tlse3.fr', '747582c758969846527f612f05ac525a82f2d67f', '0'), +('djo1928a', 'Vaughn', 'DURHAM', 'vaughn.durham@etu.iut-tlse3.fr', 'cd6d4eb78a2f2b4228913d8ca89ab95fba17a953', '0'), +('dtg1946a', 'Ruiz', 'WILKERSON', 'ruiz.wilkerson@etu.iut-tlse3.fr', '61fa79da89021355623584247fc5597b4a811c4a', '0'), +('dui1946a', 'Burns', 'COMPTON', 'burns.compton@etu.iut-tlse3.fr', '7efa228dda0181027eff80368fe5426321ffa40e', '0'), +('eca1977a', 'Hope', 'WILSON', 'hope.wilson@etu.iut-tlse3.fr', 'aa9f150450bed0a9c47d6d1b412e9af032da8fa9', '0'), +('eee1933a', 'Stacey', 'LITTLE', 'stacey.little@etu.iut-tlse3.fr', '31b9ae5ec7027c386807ca2e8212dcc26c3b087e', '0'), +('eme1913a', 'Booth', 'HENRY', 'booth.henry@etu.iut-tlse3.fr', '86fb4f37792e36d800265554310d21e59d624d4d', '0'), +('fei1944a', 'Esperanza', 'TERRELL', 'esperanza.terrell@etu.iut-tlse3.fr', '9800cde34ddf1e24c2b1e31f84d72f2f9de753c8', '0'), +('gdb1939a', 'Kate', 'NOEL', 'kate.noel@etu.iut-tlse3.fr', '918bcf2e3ffccb2bd18290a67bcbada6921c8ba3', '0'), +('gwe1975a', 'Helen', 'HICKS', 'helen.hicks@etu.iut-tlse3.fr', 'd5578ae52d8b9429a411fe6824f79aa2e4ba4295', '0'), +('gyy1983a', 'Merrill', 'WALTER', 'merrill.walter@etu.iut-tlse3.fr', '2d6450fb04820591c34d6e470d8d16cc129ed634', '0'), +('hcc1997a', 'Madeline', 'MARKS', 'madeline.marks@etu.iut-tlse3.fr', '193e0b1555ac578b13b6f02b4b2c6b8c0576a2cd', '0'), +('hku1995a', 'Roslyn', 'MURPHY', 'roslyn.murphy@etu.iut-tlse3.fr', 'a2c17932dcc6a628601a86bd02e5e6110b774205', '0'), +('hmn1970a', 'Levy', 'ARMSTRONG', 'levy.armstrong@etu.iut-tlse3.fr', '85eed5e07ad380224e3dff9c68631436fc5e0580', '0'), +('hpa1908a', 'Jacklyn', 'BYRD', 'jacklyn.byrd@etu.iut-tlse3.fr', '50c850d3d6c6e8b5277f58f59c206d7ed685b8f9', '0'), +('hrv1902a', 'Irwin', 'HOUSTON', 'irwin.houston@etu.iut-tlse3.fr', '99ab47f6cce9313bb631d892d3a192420df1ba43', '0'), +('hsx1927a', 'Irene', 'MONROE', 'irene.monroe@etu.iut-tlse3.fr', '7fa7e7fcbb03c0be72583f2d1bfc41720f2274f1', '0'), +('hth1975a', 'Pruitt', 'FERGUSON', 'pruitt.ferguson@etu.iut-tlse3.fr', '562802653c96a2e3d2523fb6f38df8c42a6c70a2', '0'), +('hzg1935a', 'Clarice', 'ORTEGA', 'clarice.ortega@etu.iut-tlse3.fr', '8c50183063238ec8218d0959c71f3315715102be', '0'), +('iah1936a', 'Franklin', 'SLATER', 'franklin.slater@etu.iut-tlse3.fr', 'c4b7e3ae38056aa7b5a492b5ae4d6822bbc4f04b', '0'), +('ihf1991a', 'Robinson', 'MCGEE', 'robinson.mcgee@etu.iut-tlse3.fr', '4aeeee2100e584893c71d32ebcb5b4837f3e2e1a', '0'), +('imf1922a', 'Hawkins', 'PATTERSON', 'hawkins.patterson@etu.iut-tlse3.fr', '05ef138dfd9464af5ca7ddb1e6fc5d38a5d256dc', '0'), +('iyh1918a', 'Tucker', 'TRAN', 'tucker.tran@etu.iut-tlse3.fr', '70e3a6e9f775731a6dc43044576feb6acf4739bd', '0'), +('jfa1965a', 'Lolita', 'FARRELL', 'lolita.farrell@etu.iut-tlse3.fr', '1a5d44889500c4f04f076836691d9ccea4c56cff', '0'), +('jgd1966a', 'Janelle', 'BURKS', 'janelle.burks@etu.iut-tlse3.fr', '83cbc892278c1d7aab3214383b272a2677a39f01', '0'), +('jrc1974a', 'Pierce', 'CHURCH', 'pierce.church@etu.iut-tlse3.fr', '0bf72260769a364574bebe43a0e2d40f0b42918a', '0'), +('kfx1995a', 'Mitzi', 'SCHROEDER', 'mitzi.schroeder@etu.iut-tlse3.fr', 'ea085dda880c523b14c1d9c24bfe8479901d90bf', '0'), +('kpf1942a', 'Strickland', 'ROACH', 'strickland.roach@etu.iut-tlse3.fr', '49ae8a41825e039415fc5403721a08bf849675dd', '0'), +('ktz1997a', 'Mcgowan', 'COHEN', 'mcgowan.cohen@etu.iut-tlse3.fr', '77f2eb9b0cd9702671799b4016e115fe185b44da', '0'), +('kul1903a', 'Magdalena', 'SIMON', 'magdalena.simon@etu.iut-tlse3.fr', 'a364c06c6bc0883322fe0b8fecf70379187e85de', '0'), +('lbh1609a', 'Hervé', 'LEBLANC', 'herve.leblanc@iut-tlse3.fr', 'lqkjsdlkjsdlkjqsdlkjqsdlkjqsdkjqsldjqsj', '1'), +('liw1940a', 'Middleton', 'WATERS', 'middleton.waters@etu.iut-tlse3.fr', '406a96ab06f805166e3ef4809e5b8aefd3fa422a', '0'), +('ljc1902a', 'Lisa', 'CLEMENTS', 'lisa.clements@etu.iut-tlse3.fr', '8b554a1fdc6fa3c07988a523bf411c90c1b647f7', '0'), +('lme1952a', 'Hollie', 'GILLIAM', 'hollie.gilliam@etu.iut-tlse3.fr', '3f7b0669e6d2a9df317c89d9947b8b2c724278f5', '0'), +('maq1980a', 'Cook', 'DUNN', 'cook.dunn@etu.iut-tlse3.fr', '9a35d39268d9ba001290d4ad62de2e8d3da645dc', '0'), +('mhr1952a', 'Socorro', 'BLAIR', 'socorro.blair@etu.iut-tlse3.fr', '007a09dbff0959962f7aca117f55e125d77658c4', '0'), +('mhu1946a', 'Edna', 'GREEN', 'edna.green@etu.iut-tlse3.fr', 'a2be4db796235e6ee539d8a96a692fc1936957db', '0'), +('mma1990a', 'Williamson', 'HATFIELD', 'williamson.hatfield@etu.iut-tlse3.fr', 'b00d282627610321925b6573ecf55242491e4382', '0'), +('mrd1609a', 'Adrien', 'MARQUES', 'adrien.marques@etu.iut-tlse3.de', '34ad81180ba7cfa510101af8abe47a558e46858a', '0'), +('msj1985a', 'Ball', 'AVILA', 'ball.avila@etu.iut-tlse3.fr', 'a65d0ad5230a8e62f691ad1f2f95a3c65f1c03dd', '0'), +('mzh1955a', 'Leblanc', 'WHEELER', 'leblanc.wheeler@etu.iut-tlse3.fr', 'd5711bb21c243770c254b30fc2fb429b06bbfaf0', '0'), +('ngw1997a', 'Booker', 'LOPEZ', 'booker.lopez@etu.iut-tlse3.fr', 'a0feaf0e9ec8f18cfc3cc8eaa0a4af131c5c91d7', '0'), +('ngz1932a', 'Faye', 'PAYNE', 'faye.payne@etu.iut-tlse3.fr', '166e4a0172787e784c6835ed07d34a550b61b986', '0'), +('non1968a', 'Foster', 'TILLMAN', 'foster.tillman@etu.iut-tlse3.fr', '3a3f8d8ddbf68fa1e366cd87d20357f05fa09f45', '0'), +('obg1973a', 'Lynch', 'CHANDLER', 'lynch.chandler@etu.iut-tlse3.fr', 'a10d3ba3eacf95b418fe2c108492ea41ad83fc9e', '0'), +('ono1984a', 'Kitty', 'SANFORD', 'kitty.sanford@etu.iut-tlse3.fr', '2100f892c9e0c1a0ce35e444d969b2bdf9de9d6b', '0'), +('oqz1937a', 'Morse', 'MICHAEL', 'morse.michael@etu.iut-tlse3.fr', '2edfedd459e1b63bf637184c4ee4a978f0c8e41e', '0'), +('otm1902a', 'Woods', 'DEJESUS', 'woods.dejesus@etu.iut-tlse3.fr', '8d3a059e7df1744e6e342dad660adeb3675d42d1', '0'), +('otv1930a', 'Odonnell', 'BEASLEY', 'odonnell.beasley@etu.iut-tlse3.fr', 'b55e173984ef282d1bbfb1cf441b1c702533ac87', '0'), +('oxz1985a', 'Paul', 'GROSS', 'paul.gross@etu.iut-tlse3.fr', '5ba7159ed8bea08ff0c6b25f47c979f2e3b9e1a5', '0'), +('pdi1904a', 'Brady', 'ASHLEY', 'brady.ashley@etu.iut-tlse3.fr', '48c9adaa6687ec1f896675cd7dd262c6b38c2b44', '0'), +('pfv1965a', 'Francine', 'COMBS', 'francine.combs@etu.iut-tlse3.fr', 'a6ba94eec7357d691231ce8b7940d86ae2cb94a9', '0'), +('pos1958a', 'Juliana', 'FULLER', 'juliana.fuller@etu.iut-tlse3.fr', 'bd4300a1779af89b2c87863384d7ab4c93d922ad', '0'), +('psg1965a', 'Knapp', 'STEPHENS', 'knapp.stephens@etu.iut-tlse3.fr', '4e24185809f6d19ab25469582b340d1d98d1478a', '0'), +('qoe1974a', 'Raquel', 'CUNNINGHAM', 'raquel.cunningham@etu.iut-tlse3.fr', '5670da6f0a600ea148705e8dfe87921b35bc24dc', '0'), +('rmj1965a', 'Bridges', 'ROSALES', 'bridges.rosales@etu.iut-tlse3.fr', 'ffa1cf9f81059b83a1a05fe7408867027decf767', '0'), +('rpl1936a', 'Tamera', 'MOSES', 'tamera.moses@etu.iut-tlse3.fr', 'd7f0216bd90b84f878bf562f473875e500d6ae40', '0'), +('rwg1909a', 'Kelly', 'WALLACE', 'kelly.wallace@etu.iut-tlse3.fr', '28356092e4722e7d40d761db1b2a3e4178c0e8a1', '0'), +('scm1996a', 'Dotson', 'SANDOVAL', 'dotson.sandoval@etu.iut-tlse3.fr', '3d2818a46340435822af94d9736bfad7ad1ecd4b', '0'), +('sft1994a', 'Norris', 'BROCK', 'norris.brock@etu.iut-tlse3.fr', 'fcfd756acef2869bb15d72b877ccd9eed675fd26', '0'), +('sjl1937a', 'English', 'POPE', 'english.pope@etu.iut-tlse3.fr', 'a5536a593633b1d610e976985d3be1fc27999e4d', '0'), +('sjw1936a', 'Cross', 'MEYERS', 'cross.meyers@etu.iut-tlse3.fr', '8571d7564e2a196feb0841fd8474754d0032721c', '0'), +('ssr1906a', 'Howell', 'FAULKNER', 'howell.faulkner@etu.iut-tlse3.fr', '073de42d66740dfd2beec792e63806a7147fa087', '0'), +('ste1994a', 'Allison', 'CALLAHAN', 'allison.callahan@etu.iut-tlse3.fr', 'a5f1074db3275a128b57d99c8a48a557297084c9', '0'), +('swd1951a', 'Jenny', 'GRAHAM', 'jenny.graham@etu.iut-tlse3.fr', 'ae8ffe6506ca1863cee65fc4402bb5dd6e563d4b', '0'), +('tdc1978a', 'Bird', 'TRAVIS', 'bird.travis@etu.iut-tlse3.fr', '4a10508dd7f87089a321fc07ff63a8269a427bcb', '0'), +('tkz1955a', 'Nora', 'BREWER', 'nora.brewer@etu.iut-tlse3.fr', '6695f488b7caf712423e5f090707058b5af0798d', '0'), +('tnx1949a', 'Dejesus', 'WALTON', 'dejesus.walton@etu.iut-tlse3.fr', '830e567e1f570e0b90ae23488e1aaa11142ec4a6', '0'), +('uix1942a', 'Kristen', 'GIBSON', 'kristen.gibson@etu.iut-tlse3.fr', '66fa9b0c1e377689bde5992b7ce9f8a88b394693', '0'), +('vau1957a', 'Kathy', 'STOUT', 'kathy.stout@etu.iut-tlse3.fr', '7149c984ea57994e5306ce3c4026064a776de1d4', '0'), +('vdj1905a', 'Dean', 'ESPINOZA', 'dean.espinoza@etu.iut-tlse3.fr', 'fde91e6c0086ecda41e08a683eb6df56c7739371', '0'), +('vgb1979a', 'Baird', 'FORD', 'baird.ford@etu.iut-tlse3.fr', '66eb6f8e8634e210729fcf25dfa32ca17bf401c3', '0'), +('vul1953a', 'Robyn', 'BATES', 'robyn.bates@etu.iut-tlse3.fr', '6421ed3a69005e0de9ab025db4617a5a2d125682', '0'), +('wbt1993a', 'Goodman', 'PAUL', 'goodman.paul@etu.iut-tlse3.fr', '282c5d93f43a3960e840b410f95b4c598e8a9340', '0'), +('wnx1995a', 'Lorraine', 'PADILLA', 'lorraine.padilla@etu.iut-tlse3.fr', '6f38a397c9c7e5b3aceab87e63da5533fa612459', '0'), +('wpa1966a', 'Collier', 'ENGLISH', 'collier.english@etu.iut-tlse3.fr', 'fd63ff8eefa080cbecb52b68dc3cf264cf121fe3', '0'), +('wvn1982a', 'Sears', 'WELCH', 'sears.welch@etu.iut-tlse3.fr', '39b49c655ec584119306086db59253cf3a171f42', '0'), +('xdh1989a', 'Rasmussen', 'PAGE', 'rasmussen.page@etu.iut-tlse3.fr', '51240c864a1efe510e150f5789889dd7b1173e9c', '0'), +('xdi1926a', 'Ferrell', 'SALAS', 'ferrell.salas@etu.iut-tlse3.fr', '50a8f5265f56c9a30816379dd91d26870c9b649b', '0'), +('xtb1903a', 'Kelly', 'FLYNN', 'kelly.flynn@etu.iut-tlse3.fr', '270b848d2e7ecb404a3816219bcfc32dafed8477', '0'), +('ydw1981a', 'Glenda', 'WILKINSON', 'glenda.wilkinson@etu.iut-tlse3.fr', '594ca97b532fa21cc524792f2d00a2720b010191', '0'), +('yjh1944a', 'Thompson', 'SOLIS', 'thompson.solis@etu.iut-tlse3.fr', '303925d37b3d505b6162bd0222bd654dc06327a9', '0'), +('ylq1926a', 'Stein', 'SILVA', 'stein.silva@etu.iut-tlse3.fr', '9d4517cb3cec7bae1957f4026db777e33ccc097d', '0'), +('ypo1964a', 'Marylou', 'HOPKINS', 'marylou.hopkins@etu.iut-tlse3.fr', 'b72c606e9f02d46fbd29da132d96bbdbbffabf35', '0'), +('ypt1989a', 'Simon', 'MORALES', 'simon.morales@etu.iut-tlse3.fr', '552b82ca9e6d6b6f661e66d7af0a380e00d52625', '0'), +('yyt1926a', 'Bryant', 'CHANEY', 'bryant.chaney@etu.iut-tlse3.fr', '5a962df24a9b04ed8a56c02a68d8dfc5e9435abe', '0'), +('zge1937a', 'Ella', 'GARZA', 'ella.garza@etu.iut-tlse3.fr', '927065354ae8e224f43f6eb9578b5c7c9750461b', '0'), +('zgy1948a', 'Emily', 'ALVARADO', 'emily.alvarado@etu.iut-tlse3.fr', '34ad81180ba7cfa510101af8abe47a558e46858a', '0'); -- -- Contraintes pour les tables exportées @@ -524,6 +558,13 @@ ALTER TABLE `appartenance` 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 `enseignement` +-- +ALTER TABLE `enseignement` + ADD CONSTRAINT `enseigmenent_id_programme` FOREIGN KEY (`id_programme`) REFERENCES `programme` (`id_programme`), + ADD CONSTRAINT `enseignement_id_enseignant` FOREIGN KEY (`id_enseignant`) REFERENCES `utilisateur` (`identifiant`); + -- -- Contraintes pour la table `note` --