sql list all unique values in a column code example Example: query DISTINCT SELECT DISTINCT Column_name FROM table_name;