Loading lesson path
Concept visual
Start at both ends
statement is used to return only distinct
(unique) values.Formula
In a table, a column may contain several duplicate values - and sometimes you want to list only the unique values.Select all the distinct (unique) countries from the "Customers" table:
SELECT DISTINCT Country FROM Customers;column1, column2, ...
table_name
;Customers table used in the examples:
Obere Str. 57
12209
Avda. de la Constitución 2222 México D.F. 05021
Antonio Moreno TaquerÃa
México D.F. 05023