>SELECT         t.groupid, 
>       t.groupname
>FROM   @tblgroups t
>INNER JOIN @tblgrouptypes gt ON gt.groupid = t.groupid
>WHERE  gt.grouptype in ('College','Jewish')  -- This would be dynamic
>GROUP BY t.groupid, 
>       t.groupname
>HAVING count(*) = 2 -- This would be dynamic 
>ORDER BY t.groupname
>
>~Brad

This looks sweet! I'm havin to move along on his project but will revisit the 
query and test it out!

Thanks brad!

Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300492
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to