Ver Mensaje Individual
  #12  
Antiguo 02-10-2017
nincillo nincillo is offline
Miembro
 
Registrado: may 2017
Posts: 151
Reputación: 7
nincillo Va por buen camino
Cita:
Empezado por identsoft Ver Mensaje
Eso es lo que necesito.
Entonces creo que lo que necesitas es algo así:

Código:
SELECT  NOMBRE, FECHAVTO,  SUM(IMPORTE) AS Total
FROM VTOSCOBR 
where FECHAVTO between '2017-04-28' and '2017-05-01' 
group by NOMBRE, FECHAVTO
having (sum(importe) < 1000)
--ORDER by LO QUE QUIERAS.....
Responder Con Cita