get unique values from mysql code example
Example 1: distincct sql
SELECT DISTINCT column1, column2, ...
FROM table_name;
Example 2: query DISTINCT
SELECT DISTINCT Column_name FROM table_name;
SELECT DISTINCT column1, column2, ...
FROM table_name;
SELECT DISTINCT Column_name FROM table_name;