On Sun, 9 Mar 2003 14:56:31 -0500
Kelly Meeks <[EMAIL PROTECTED]> wrote:


> Order Num             Order Date              Product Code            Product Name
> ---------------------------------------------------------------------------------------
> 1                     2003-01-01              12345                   product xyz
> 2                     2003-01-01              12345                   product xyz
> 3                     2003-01-01              abcde                   product abc
> 1                     2003-01-01              abcde                   product abc
> 5                     2003-01-01              12345                   product xyz
> 
> If I wanted to have the output grouped on any of the fields, how would I go about 
> doing it?
> 

append to your query:
... GROUP BY tablename.column_name

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to