Ver Mensaje Individual
  #3  
Antiguo 18-03-2010
El_Raso El_Raso is offline
Miembro
 
Registrado: oct 2003
Posts: 135
Reputación: 21
El_Raso Va por buen camino
Hola a Todos...

lo resolvi asi el problema...
Código SQL [-]
select cast(extract(month from a.fechafactura) || '/' || extract(day from a.fechafactura) || '/' || extract(year from a.fechafactura) as date), sum(a.montoneto)
from factura a
group by cast(extract(month from a.fechafactura) || '/' || extract(day from a.fechafactura) || '/' || extract(year from a.fechafactura) as date)
order by 1

Si alguien tiene algo mas optimo favor publicar...
Responder Con Cita