mysql list unique values in column code example Example: distincct sql SELECT DISTINCT column1, column2, ... FROM table_name;