Ver Mensaje Individual
  #2  
Antiguo 14-09-2004
Aztaroth Aztaroth is offline
Miembro
 
Registrado: dic 2003
Ubicación: Matamoros
Posts: 52
Reputación: 23
Aztaroth Va por buen camino
Consulta SQL

Ya probaste agrupando

SELECT DISTINCT DETTRA.* FROM DETTRA WHERE SERIE='P' AND CANREC = 0 and fecha >= '09/01/2004' and fecha<= '09/30/2004' ORDER BY TIENDA,TDAORI group by [Campos]
Responder Con Cita