"Chris Hoover" <revoohc(at)sermonaudio(dot)com> writes:
> Select *
> from table a
> where inv_num in (select inv_num from table b where ....)
> I'm running 7.3.4 on RedHat EL 2.1.
IN (SELECT) constructs pretty well suck in PG releases before 7.4.
Update, or consult the FAQ about rewriting into an EXISTS form.
regards, tom lane