摘要: 正确语句: select *, count(distinct name) from table group by name 错误语句: select id, distinct name from table很遗憾,除了错误信息你什么也得不到,distinct必须放在开头。难到不能把distinct放 阅读全文
posted @ 2017-06-13 18:02 贵隆 阅读(400) 评论(0) 推荐(0) 编辑