This seems like it ought to be simple, but I'm not quite seeing the solution.
How would I adjust this query to select one community from the new_communities table and only the *first* photo from the new_community_photos table. Right now I get the community as many times as there are photos for it. I want *one* community and *one* matching photo. Here's what I put together and then realized the problem... select nc.new_community_id, nc.new_community_name, nc.new_community_short_desc, ncp.new_community_photo_w150, ncp.new_community_photo_w500 from new_communities nc, new_community_photos ncp where nc.new_community_id = ncp.new_community_id order by nc.new_community_name ??? Thanks, Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:301970 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4