常用的有两种方法,第一种就是select distinct name from table。但是有时候我们要返回多个字段时就用第二种方法select *, count(distinct name) from table group by name
做建材的网站好名字/网络优化seo是什么工作
转载于:https://www.cnblogs.com/jiayongchao/p/4562939.html
常用的有两种方法,第一种就是select distinct name from table。但是有时候我们要返回多个字段时就用第二种方法select *, count(distinct name) from table group by name
转载于:https://www.cnblogs.com/jiayongchao/p/4562939.html