Select V.NUM, V.CRU, COUNT(*) From VINS V, RECOLTES R Where V.NUM = R.NVIN Group By V.NUM, V.CRU
From VINS V, RECOLTES R
Where V.NUM = R.NVIN
Group By V.NUM, V.CRU
Nombre de tuples : 100
ou bien
Select V.NUM, V.CRU, COUNT(*) From VINS V JOIN RECOLTES R ON (V.NUM = R.NVIN) Group By V.NUM, V.CRU
From VINS V JOIN RECOLTES R ON (V.NUM = R.NVIN)