how to select distnict columns from table sql code example Example: sql find all different values in column SELECT DISTINCT column_name FROM table_name;