摘要: 常用的有两种方法,第一种就是select distinct name from table。但是有时候我们要返回多个字段时就用第二种方法select *, count(distinct name) from table group by name 阅读全文
posted @ 2015-06-09 11:20 jiayongchao 阅读(136) 评论(0) 推荐(0) 编辑