Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/12/2007, 16:08
Avatar de gokufast
gokufast
 
Fecha de Ingreso: abril-2007
Mensajes: 540
Antigüedad: 17 años, 1 mes
Puntos: 3
Re: Cambio de Moneda

Que quiero multiplicar el saldo por 7,69, del siguiente query, y almacenarlo

SELECT
voluntario.vol_cod,
SUM(ifnull(vol_depus, 0) - ifnull(vol_retus, 0)) AS saldo
FROM
voluntario
GROUP BY
voluntario.vol_cod
HAVING
saldo >= 500