Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: SELECT only once from a colum with many of the same value


Message #1 by "Dean" <spinout@i...> on Fri, 30 Aug 2002 06:48:02
> The (magic) word is DISTINCT:
>
>SELECT DISTINCT CityName FROM Customers
>
>will return each CityName in the table Customers once and only once.
>
>Hth
>Imar



That's it!! I knew there was a very simple way of doing it I just couldn't 
remember how. Thank you for your help.


  Return to Index