Supprimer 'DEV2.1/tp5.txt'

This commit is contained in:
Menouer MELIANI 2023-04-04 14:06:40 +02:00
parent 40db3a3ea8
commit 7da48d3d3b

View File

@ -1,17 +0,0 @@
insert into Auteur values (1, 'Proal');
insert into Auteur values (2, 'laorP');
insert into Auteur values (3, 'alPro');
insert into Auteur values (4, 'orPal');
insert into Editeur values (8, 'CrocsCars');
insert into Editeur values (9, 'Fesse');
insert into Editeur values (10, 'LaGlance');
2)CREATE TABLE Livre(NumLivre number primary key, Titre varchar(60), CodeEditeur number references Editeur ON DELETE SET NULL);
insert into Livre values(13, 'Heehee', 8);
DELETE FROM EDITEUR WHERE CodeEditeur = 8;
3)
CREATE TABLE A_ECRIT(NumAuteur number references AUTEUR ON DELETE SET NULL , NumLivre number references LIVRE ON DELETE CASCADE, Primary key(NumAuteur,NumLivre));
insert into A_ECRIT values (1, 14);
insert into A_ECRIT values (2, 14);