disitinct in sql code example Example: distincct sql SELECT DISTINCT column1, column2, ... FROM table_name;