MYSQL select DISTINCT values in two columns May 23, 2023 by Tarik How about using GROUP BY? SELECT foo,bar FROM my_table GROUP BY foo,bar