You could try grouping by something distinct or selecting distinct

-----Original Message-----
From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 25, 2004 2:45 PM
To: CF-Talk
Subject: Getting 4 results where there should be only 2

When I do something like this...

<cfquery datasource=#mydbname# name="getinfo">
SELECT *
FROM Table1,Table2
</cfquery>

and there are only 2 records to show, the output shows those 2 records
twice. I'm assuming that its becuase there are 2 tables so it shows it
twice. How do I get around this? This page is independant and has no
variables passed to it from urls or forms.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182521
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to