mysql doesnt have built in for mutiplication agregat so we use math function
as we know equation in math is
or
log(a1*a2)=log(a1)+log(a2)
or
log(a1*a2*a3*)=log(a1)+log(a2)+log(a3))
so .. we can use that equation on sql code like
SELECT ID,EXP(SUM(LOG(value))) AS value FROM table where succes =1 group by id
but if you field can hold NULL value so we use coalesce to replace NULL = 1
remember
you can try this :
SELECT ID,EXP(SUM(LOG(COALESCE(value,1)))) AS value FROM table where succes =1 group by id
sorry for my bad english
hope you understand