jeffd
committed
on 09 Dec 02
use where exists rather than select distinct since it can be 10-50x faster for this query