You might want to post this at [EMAIL PROTECTED] There are some 
sharp SQL experts there.

Bruce

Brad Wood wrote:
> Yes, I did several attempts at a derived table, but I still ran into the
> same problem...  I couldn't do a top 1 with order by datetime_created
> desc because I am reporting across multiple orders, not just one.  I
> need to group by something, but if it is just the order_num I can't get
> the product_name, and if I group by the product_name as well, it
> itemizes all the products.
>
> ~Brad
>
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289758
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to