bonsoir,
j'ai une question pour ceux qui métrisent les requete update aliant les select qui utilisent les group by?

Je m'explique. Voici ma requete vous verrez ce que je veux dire :
update projet
set p_max=
( select max(aj_budget_engage),aj_proj_id,aj_phas_id,aj_tach_id
from ajust
group by aj_proj_id,aj_phas_id,aj_tach_id )
where p_proj_id=aj_proj_id and p_phas_id=aj_phas_id and p_tach_id=aj_tach_id
le but :
sélectionner Max, le maximum d'un champ d'une table, pour chaque projet,phase,tache et mettre à jour ma table avec MAX.
J'espère avoir été le plus clair possible.
