Subject: Re: Rewriting DISTINCT and losing performance
Date: Mon, 21 May 2007 05:14:14 -0400
Chuck,
explain analyze
SELECT country_id, country_name
FROM geo.country
WHERE country_id IN
(select country_id FROM geo.city)
;
-- won't complete in a reasonable amount of time.