Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/09/2006, 09:32
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Te da error, me parece que debería darte error tal como está.

Prueba esto:

Código:
SELECT IDPROV, FECHA, SUM(TOTAL) AS TOTAL
FROM facturas
WHERE IDPROV = '3' GROUP BY IDPROV, FECHA;