This commit is contained in:
Pierre COURTEHOUX 2023-12-05 15:11:54 +01:00
commit 67b27fa439
3 changed files with 11 additions and 0 deletions

3
courtehoux_table.sql Normal file
View File

@ -0,0 +1,3 @@
select distinct NOM
From Viticulteur natural join Commande natural join Vin
Where numbuveur = '1600'

4
reponse_tp2 Normal file
View File

@ -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'

4
reponse_tp3 Normal file
View File

@ -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'