P.S.

To shorten the other query, this should work

<CFQUERY NAME="names" DATASOURCE="#DB_redwood#">
  SELECT distinct lname, fname, artist_id
  FROM photos, photographers
  WHERE #themes.id # IN (SELECT photos.theme_id from photos)
  and photographers.id = photos.artist_id
  order by lname
 </CFQUERY>

Doug B.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267857
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