Following are the query mention below to select distinct column from the database table in Mysql.
SELECT DISTINCT column_name FROM table_name;
For example you have column in a table which have duplicate result but you want to show only distinct result from the duplication of the columns.
SELECT DISTINCT column_name FROM table_name;
For example you have column in a table which have duplicate result but you want to show only distinct result from the duplication of the columns.