Ver Mensaje Individual
  #15 (permalink)  
Antiguo 08/08/2005, 14:23
Avatar de Myakire
Myakire
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