get unique values of a row in t sql code example Example: query DISTINCT SELECT DISTINCT Column_name FROM table_name;