From 7da48d3d3b08b562fcf12e68f441c7d7c0b2d417 Mon Sep 17 00:00:00 2001 From: meliani Date: Tue, 4 Apr 2023 14:06:40 +0200 Subject: [PATCH] Supprimer 'DEV2.1/tp5.txt' --- DEV2.1/tp5.txt | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 DEV2.1/tp5.txt diff --git a/DEV2.1/tp5.txt b/DEV2.1/tp5.txt deleted file mode 100755 index 32780b0..0000000 --- a/DEV2.1/tp5.txt +++ /dev/null @@ -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); \ No newline at end of file