-4
我有查詢像下面MYSQL明顯不工作23
select distinct TopName, Occurrences, State, Year
From topbabynamesbystate
where Gender = "F" and State = "WA" and (year >= 2000)
order by Occurrences desc
limit 3
名艾米莉仍然在數據集中兩次出現了。
Distinct返回所選列的不同組合。 – GurV
Distinct工作得很好。 – Strawberry