Give this a try. It will still honor the LEFT OUTER JOIN while using both of your tests to select 'b' records.
>SELECT > a.field, > count(b.field) > >FROM > aTable a LEFT OUTER JOIN bTable b > ON a.key = b.fkey > AND b.year BETWEEN 2000 AND 2003 > AND b.type = 'C' > >GROUP BY > a.field ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314822 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

