disctinct sql server code example Example: distincct sql SELECT DISTINCT column1, column2, ... FROM table_name;