SQL SELECT DISTINCT Keyword


SELECT DISTINCT

The SELECT DISTINCT command returns only distinct (different) values in the result set.

The following SQL statement selects only the DISTINCT values from the "Country" column in the "Customers" table:

Example

SELECT DISTINCT Country FROM Customers;


Login
ADS CODE