From 9caadaaf8b192ba833b2a9f37fe9afe4c6225be1 Mon Sep 17 00:00:00 2001 From: bastien Date: Mon, 2 Mar 2026 08:41:29 +0000 Subject: [PATCH] Actualiser creation_tables.txt --- creation_tables.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/creation_tables.txt b/creation_tables.txt index 1f2a760..f870f80 100644 --- a/creation_tables.txt +++ b/creation_tables.txt @@ -14,7 +14,14 @@ CREATE TABLE adherent ( FOREIGN KEY (club) REFERENCES club(nom) ); - +CREATE TABLE respo ( + club VARCHAR(100) PRIMARY KEY, + president INT, + tresorier INT, + FOREIGN KEY (club) REFERENCES club(nom), + FOREIGN KEY (president) REFERENCES adherent(code), + FOREIGN KEY (tresorier) REFERENCES adherent(code) +); CREATE TABLE competition ( code INT PRIMARY KEY,