MySQL Forums
Forum List  »  Newbie

Re: query to return unique items
Posted by: Barrette Plett
Date: July 12, 2005 11:54AM

I figured it out. This does what I want:
SELECT DISTINCT 'name' FROM 'tablename'

It was that DISTINCT modifier that I didn't know...

Options: ReplyQuote


Subject
Written By
Posted
Re: query to return unique items
July 12, 2005 11:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.