There was a misunderstanding is what I was asking.  Here is waht my problem
is. I want to output all orders for today but I will have the same order id
duplicate (as listed below) if a customer has ordered more than one product
even through both order ids will point to the same order:
Ex.
2000100312600
2000100313456
2000100314555*
2000100314555*
2000100333556

Since my checkout process enters each product ordered in its own row I wind
up with the same order id in multiple table rows if a customer orders more
than one product. What I would like is the following output:
2000100312600
2000100313456
2000100314555
2000100333556

Is this possible?

Rich

-----Original Message-----
From: JustinMacCarthy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 10:51 AM
To: CF-Talk
Cc: [EMAIL PROTECTED]
Subject: Re: Eliminate duplicates??


Select Distinct OrderID FROM Table


Justin

----- Original Message -----
From: "HappyToad.com" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 3:46 PM
Subject: Eliminate duplicates??


> Question:
> I have built a store app and orders are stored with each product ordered
> being assigned its own table row but sharing the unique order id.  How can
I
> have a query that will display the order ids without duplicates?  Is there
a
> way to eliminate duplicates without limiting the output rows?
>
> Thanks,
> Rich
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to