Gossamer Forum
Home : General : Perl Programming :

MySQL question

Quote Reply
MySQL question
I'm having a little trouble with a script I have been working on for a few hours. It's going to need to pull some data from a MySQL DB. One of the columns in the DB will contain URLs. It's quite likely that there will be duplicate URLs. What I'd like to do is retrieve a list of all of the URLs in that column without showing duplicates. What would be the best way to accomplish this? Is there a MySQL command to do this?
Quote Reply
Re: [BennyHill] MySQL question In reply to
use the distinct() function.

--Philip
Links 2.0 moderator