Sebastien a écrit :
Oui pour deux trois ca va, mais comme tu dois repeter des calculs sur une dizaine de champs c penible a la fin.
Code :
- select sum(presents) as p, sum(cns) as c, sum(cns_avt) as cv,
- sum(presents)+sum(cns)+sum(cns_avt) as sum1,
- sum(apl) as a, sum(aides) as ai, sum(fsl) as f, sum(prefet) as pf,
- sum(surendt) as sdt, sum(ent) as ent, sum(tiers) as tiers,
- sum(tiers)+sum(ent)+sum(surendt)+sum(prefet)+sum(fsl)+sum(aides)+sum(apl),
- sum(presents)+sum(cns)+sum(cns_avt)-(sum(tiers)+sum(ent)+sum(surendt)+sum(prefet)+sum(fsl)+sum(aides)+sum(apl))
|
C plsu vraiment lisible la
|