Ver Mensaje Individual
  #2  
Antiguo 13-04-2010
Avatar de Caral
[Caral] Caral is offline
Miembro Premium
 
Registrado: ago 2006
Posts: 7.659
Reputación: 25
Caral Va por buen camino
Hola
Tal vez.....
Código Delphi [-]
select categoria, sum(cargo) as cargo1, sum(abono) as abono1 from apuntes where FechaA >= :Fech1 And FechaA <= :Fech2 group by categoria
Saludos
__________________
Siempre Novato
Responder Con Cita