本文共 682 字,大约阅读时间需要 2 分钟。
???????????DISTINCT???
????????DISTINCT??????????????????????????????????????????DISTINCT????????????????????
DISTINCT???????????????????????????????????????????DISTINCT?????????????????????
?SQL????DISTINCT???SELECT??????????SELECT?????DISTINCT??????
SELECT [distinct] columnName [from table]
???????DISTINCT?????????????????????????????????
3.1 ?????
SELECT distinct name FROM table
3.2 ?????id
SELECT distinct name, id FROM table
???????????DISTINCT??????????????????????????????????
转载地址:http://lopfk.baihongyu.com/