Ver Mensaje Individual
  #5  
Antiguo 18-04-2008
hecospina hecospina is offline
Miembro
 
Registrado: oct 2007
Posts: 202
Reputación: 17
hecospina Va por buen camino
Prueba
Código SQL [-]
SELECT d.COD_TURNO,d.FECHA_MODELO,d.NRO_MODELO,d.NRO_TURNO,d.CANT_TONELADAS,d.TIPO_PRODUCCION,COUNT(d1.COD_  TURNO) as NoTurnos
FROM   "Turnos.DB" d , "TurnosDetalles.DB" d1
WHERE  (d1.COD_TURNO = d.COD_TURNO)
GROUP BY d.COD_TURNO, d.FECHA_MODELO, d.NRO_MODELO, d.NRO_TURNO, d.CANT_TONELADAS, d.TIPO_PRODUCCION
Responder Con Cita