From: | "Miguel Beltran R(dot)" <yourpadre(at)gmail(dot)com> |
---|---|
To: | Guillermo Villanueva <guillermovil(at)gmail(dot)com> |
Cc: | pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: Comportamiento correcto del "not in" ? |
Date: | 2012-07-10 13:41:16 |
Message-ID: | CAEc04cpDWfXeEVrHFMH6_xT8qqN_m0=2smf8k_52wQM511cZyA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
No se porque lo hace, haria falta que hicieras un explain
Pero intenta conesta otra consulta
select *
from uad.beneficiarios as b
where
estado_envio = 'n' and
tipo_transaccion = 'M' and
clave_beneficiario not in (
select clavebeneficiario
from nacer.smiafiliados as s
where b.*clavebeneficiario = s.**clavebeneficiario*
)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2012-07-10 14:07:47 | Re: Comportamiento correcto del "not in" ? |
Previous Message | Alvaro Herrera | 2012-07-10 03:06:01 | Re: Ayuda con inquietud |