Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/10/2007, 19:51
Avatar de m4xp0wer
m4xp0wer
 
Fecha de Ingreso: septiembre-2007
Mensajes: 66
Antigüedad: 16 años, 7 meses
Puntos: 1
Re: Sumar columnas

con la función sum(campo)
select sum(campo1) as total1, sum(campo2) as total2, sum(id) as totalid from tabla