From 67b27fa43931943294df878e286c4ed3a4eb79d9 Mon Sep 17 00:00:00 2001 From: courteho Date: Tue, 5 Dec 2023 15:11:54 +0100 Subject: [PATCH] bourama --- courtehoux_table.sql | 3 +++ reponse_tp2 | 4 ++++ reponse_tp3 | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 courtehoux_table.sql create mode 100644 reponse_tp2 create mode 100644 reponse_tp3 diff --git a/courtehoux_table.sql b/courtehoux_table.sql new file mode 100644 index 0000000..83df1e4 --- /dev/null +++ b/courtehoux_table.sql @@ -0,0 +1,3 @@ +select distinct NOM +From Viticulteur natural join Commande natural join Vin +Where numbuveur = '1600' \ No newline at end of file diff --git a/reponse_tp2 b/reponse_tp2 new file mode 100644 index 0000000..e1383cd --- /dev/null +++ b/reponse_tp2 @@ -0,0 +1,4 @@ +select * from buveur +select numbuveur, nom, ville from buveur +select numbuveur, nom from buveur where ville = 'PARIS' +select numbuveur, nom from buveur where ville = 'PARIS' or ville = 'MACON' \ No newline at end of file diff --git a/reponse_tp3 b/reponse_tp3 new file mode 100644 index 0000000..07a9ca7 --- /dev/null +++ b/reponse_tp3 @@ -0,0 +1,4 @@ + + +select numvitic, nom, ville from viticulteur natural join vin where region = 'LOIRE' +select distinct NOM From Viticulteur natural join Commande natural join Vin Where numbuveur = '1600' \ No newline at end of file