What is the use of “DISTINCT” in Sql Server?

“DISTINCT” keyword is used to remove the duplicate values in a given column.

Example

SELECT DISTINCT column_name From table

Leave a Reply