Re: returning unique values in columns
| From: | Justin French | Date: | Fri, 15 Nov 2002 00:00:20 +0000 |
| Subject: | Re: returning unique values in columns | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124523@lists.php.net to get a copy of this message | ||
Check out DISTINCT in the MySQL manual... or is it UNIQUE ??
Try something like "SELECT DISTINCT * FROM ...."
JF
on 15/11/02 7:17 AM, drparker@clam.rutgers.edu (drparker@clam.rutgers.edu)
wrote:
> but I only want it to return unique values - in this case I would only
> want Fashion, Basics, Plus - instead of the Fashion, Basics, Fashion,
> Plus, Plus I would get if I had run: SELECT column FROM tblname;
>
> any help would be greatly appreciated...
Justin French
--------------------
http://Indent.com.au
Web Developent &
Graphic Design
--------------------