<snip> > It works with the correct conditions in the subqueries. But Jim's > suggestion looks like the ticket here. Its simpler and is almost > certainly faster.
I'll confess that my SQL experience is limited. I did spend quite a bit of time trying to get your suggestion of using subqueries to work but with no success. As a learning exercise could you provide an example? Thanks, Doug ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:2763 Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
