Commit 02efb8f8 authored by Tom HENRION's avatar Tom HENRION

last commit

parent d68893d6
......@@ -44,13 +44,3 @@ INNER JOIN Parcelle P ON P.Numero = pcv.parcelle
INNER JOIN Cepage c ON c.Nom = p.Cepage_parcelle
INNER JOIN Critere_Qualitatif cq ON cq.Id = v.Critere
Order by v.Id;
--- Notation des vins en fonction des traitements utilisés sur les cépages utilisés dans la réalisation du vin ---
SELECT DISTINCT v.Id AS id_vin, v.Nom, p.Cepage_parcelle as cépage, t.Nom, t.Description, cq.Notation
FROM Vin v
INNER JOIN parcelle_compose_vin pcv ON pcv.vin = v.Id
INNER JOIN Parcelle P ON P.Numero = pcv.parcelle
INNER JOIN Cepage c ON c.Nom = p.Cepage_parcelle
INNER JOIN Traite tr ON tr.parcelle = p.Numero
INNER JOIN Traitement t ON t.Nom = tr.traitement
Order by v.Id;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment