Table 7. DISTINCT Keyword
Keyword |
Description |
Order of Evaluation |
---|---|---|
DISTINCT |
Eliminates duplicate rows |
1 |
Example:
SELECT DISTINCT continent, name
FROM country
ORDER BY continent;
Results:
This content is provided to you freely by BYU-I Books.
Access it online or download it at https://books.byui.edu/learning_mysql/distinct_clause.