bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL SELECT DISTINCT Keyword

Concept visual

SQL SELECT DISTINCT Keyword

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

SELECT DISTINCT Keyword

Previous

❮ SQL Keywords

Next

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;

Previous

❮ SQL Keywords

Next

Previous

SQL DESC Keyword

Next

SQL DROP Keyword