DISTINCT
This section contains reference documentation for the DISTINCT function.
Returns the distinct row values in a group
DISTINCT(colName)
select DISTINCT league AS value
from baseballStats
value |
---|
NL |
UA |
AL |
NA |
PL |
AA |
FL |
select DISTINCT(league) AS value
from baseballStats
value |
---|
NL |
UA |
AL |
NA |
PL |
AA |
FL |
Last modified 1yr ago