Thanks, Leigh... I just needed to run a query to see if a client was putting photos with identical names in their database. There were... I need to add a date-time stamp or append a UUID to their filenames, or something to make sure they are unique.
The query was just to generate a report and show them why photos were appearing with the wrong properties. Thanks for your help! Rick -----Original Message----- From: Leigh [mailto:[email protected]] Sent: Friday, August 12, 2011 4:05 PM To: cf-talk Subject: RE: How to write this MySQL query... Rick - If you do not need the "TimesUsed" count, you might also try the WHERE EXISTS approach to compare performance. -Leigh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346732 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

