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