This section contains reference documentation for the DISTINCT function.
Last updated 2 years ago
Was this helpful?
Returns the distinct row values in a group
DISTINCT(colName)
These examples are based on the .
select DISTINCT league AS value from baseballStats
NL
UA
AL
NA
PL
AA
FL
select DISTINCT(league) AS value from baseballStats