MYSQL select DISTINCT values in two columns

How about using GROUP BY?

SELECT foo,bar FROM my_table GROUP BY foo,bar

Leave a Comment