Ver Mensaje Individual
  #3  
Antiguo 14-09-2004
edy_aca edy_aca is offline
Miembro
 
Registrado: nov 2003
Posts: 74
Reputación: 23
edy_aca Va por buen camino
Smile otra forma de hacerlo fue

otra forma de hacerlo fue esta:

SELECT
DETTRA.NUMTRA,
DETTRA.TDAORI,
DETTRA.TIENDA
FROM
DETTRA
WHERE
(SERIE = 'P') AND
(CANREC = 0) AND
(fecha >= '09/01/2004') AND
(fecha <= '09/30/2004')
group by
DETTRA.NUMTRA,
DETTRA.TDAORI,
DETTRA.TIENDA
order by numtra

pero necesito todos los campos.. muchas gracias x su ayuda
Responder Con Cita