SELECT DISTINCT column_name FROM table_name;
SELECT column_name FROM table_name GROUP BY column_name;
SELECT column_name FROM table_name WHERE column_name IN (SELECT DISTINCT column_name FROM table_name);
SELECT column_name FROM table_name GROUP BY column_name HAVING COUNT(column_name) = 1;
CREATE TEMPORARY TABLE temp_table AS SELECT DISTINCT column_name FROM table_name; SELECT * FROM temp_table;