sql distinct php example Example: distincct sql SELECT DISTINCT column1, column2, ... FROM table_name;