Why distinct use in sql query code example
Example 1: select distinct
SELECT DISTINCT ma_colonne
FROM nom_du_tableau
Example 2: distinct in sql server
The SELECT DISTINCT statement is used to return only distinct (different) values.
Ex: select DISTINCT Country from TableName;