
08/08/2005, 14:23
|
 | Colaborador | | Fecha de Ingreso: enero-2002 Ubicación: Centro de la república
Mensajes: 8.849
Antigüedad: 23 años, 3 meses Puntos: 146 | |
¡A caray!, no le aplicaste modelado a tu BD. Pero bueno, esa es otra historia
Intenta con esto:
SELECT factura, articulo, statusprecio
FROM FACTURA
where factura not in (select factura from factura where statusprecio = 'N')
group by factura, articulo, statusprecio
Saludos |