Commit 04d3ab0a authored by Ismail Merzougui's avatar Ismail Merzougui

Code SQL corrigée (suppression des attributs durée, datelimite et typedoc de...

Code SQL corrigée (suppression des attributs durée, datelimite et typedoc de la table emprunt document)
parent bfa42dc8
......@@ -205,16 +205,16 @@ VALUES('Poquelin', 'Jean-Baptiste', TO_DATE('16220115','YYYYMMDD'), 52369844,'Ec
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(52369841,00776,TO_DATE('20190204','YYYYMMDD'),TO_DATE('20190205','YYYYMMDD'),'Abime','Abime');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(52369842,00776,TO_DATE('20190102','YYYYMMDD'),TO_DATE('20190103','YYYYMMDD'),'neuf','Abime');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(52369843,00001,TO_DATE('20190304','YYYYMMDD'),TO_DATE('20190305','YYYYMMDD'),'perdu','perdu');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(52369844,00026,TO_DATE('20190304','YYYYMMDD'),TO_DATE('20190305','YYYYMMDD'),'Abime','perdu');
......@@ -250,17 +250,17 @@ INSERT INTO ContributionDocument(nom,prenom, DateDeNaissance,Code,typeC)
VALUES('De Palma','Brian',TO_DATE('19400911','YYYYMMDD'),64564566,'Realisateur');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
VALUES(64564564,00776,TO_DATE('20190402','YYYYMMDD'),'24:00:00',TO_DATE('20190405','YYYYMMDD'),TO_DATE('20190403','YYYYMMDD'),'neuf','Abime','Film');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(64564564,00776,TO_DATE('20190402','YYYYMMDD'),TO_DATE('20190405','YYYYMMDD'),'neuf','Abime');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
VALUES(64564563,00776,TO_DATE('20190401','YYYYMMDD'),'24:00:00',TO_DATE('20190405','YYYYMMDD'),TO_DATE('20190402','YYYYMMDD'),'neuf','neuf','Film');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(64564563,00776,TO_DATE('20190401','YYYYMMDD'),TO_DATE('20190405','YYYYMMDD'),'neuf','neuf');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
VALUES(64564565,00001,TO_DATE('20190331','YYYYMMDD'),'24:00:00',TO_DATE('20190403','YYYYMMDD'),TO_DATE('20190401','YYYYMMDD'),'Abime', 'Abime','Film');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(64564565,00001,TO_DATE('20190331','YYYYMMDD'),TO_DATE('20190403','YYYYMMDD'),'Abime', 'Abime');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
VALUES(64564566,00026,TO_DATE('20190330','YYYYMMDD'),'24:00:00',TO_DATE('20190401','YYYYMMDD'),TO_DATE('20190331','YYYYMMDD'),'neuf','neuf','Film');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(64564566,00026,TO_DATE('20190330','YYYYMMDD'),TO_DATE('20190401','YYYYMMDD'),'neuf','neuf');
......@@ -322,22 +322,22 @@ VALUES('Henley', 'Don', TO_DATE('19470622','YYYYMMDD'), 49751676, 'Chanteur');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(61449716,00776,TO_DATE('20190202','YYYYMMDD'),'24:00:00',TO_DATE('20190203','YYYYMMDD'),TO_DATE('20190203','YYYYMMDD'),'Abime','Abime','Musique');
VALUES(61449716,00776,TO_DATE('20190202','YYYYMMDD'),TO_DATE('20190203','YYYYMMDD'),'Abime','Abime');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(16479314,00776,TO_DATE('20190101','YYYYMMDD'),'24:00:00',TO_DATE('20190102','YYYYMMDD'),TO_DATE('20190102','YYYYMMDD'),'neuf','bon','Musique');
VALUES(16479314,00776,TO_DATE('20190101','YYYYMMDD'),TO_DATE('20190102','YYYYMMDD'),'neuf','bon');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(61449716,00001,TO_DATE('20181231','YYYYMMDD'),'24:00:00',TO_DATE('2018122','YYYYMMDD'),TO_DATE('2018122','YYYYMMDD'),'bon','bon','Musique');
VALUES(61449716,00001,TO_DATE('20181231','YYYYMMDD'),TO_DATE('2018122','YYYYMMDD'),'bon','bon');
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,Duree,DateRetour,DateLimite,etatemprunt,etatretour,typeD)
INSERT INTO EmpruntDocument(code,Idcarte,DateEmprunt,DateRetour,etatemprunt,etatretour)
VALUES(49751676,00001,TO_DATE('20190310','YYYYMMDD'),'24:00:00',TO_DATE('20190311','YYYYMMDD'),TO_DATE('20190311','YYYYMMDD'),'Abime','Abime','Musique');
VALUES(49751676,00001,TO_DATE('20190310','YYYYMMDD'),TO_DATE('20190311','YYYYMMDD'),'Abime','Abime');
INSERT INTO Sanction (TypeSanction,DateDebut, Duree, DateFin, IdCarte)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment