摘要: distinct distinct只能放在select首位,比如select distinct name, age from user;(不能select age, distinct name from user;), 并且distinct是针对select所有字段的,而不仅仅是首个字段,比如: 执 阅读全文
posted @ 2017-09-17 14:53 holoyong 阅读(351) 评论(0) 推荐(0) 编辑