
29/04/2013, 03:04
|
 | | | Fecha de Ingreso: abril-2013
Mensajes: 48
Antigüedad: 12 años Puntos: 5 | |
Respuesta: Consulta acumulada por fecha select SUM(unidades.gasto) from unidades where unidades.Fecha >= “2013-02-01” AND unidades.Fecha <= “2013-03-03”) GROUP BY unidades.Unidad;
Prueba a utilizar el parámetro GROUP BY para agrupar los resultados que te devuelve según necesites |