摘要: 很多人新手对于数据库distinct 的用法有误解接下来我们看一段代码: 数据表:table id name 1 a 2 b 3 c 4 c 5 b 我们使用distinct来去重name是这样: select distinct name from table 结果为: a b c 可是一般数据库去 阅读全文
posted @ 2017-09-15 11:21 没有白天与黑夜的苦逼小农码 阅读(3068) 评论(0) 推荐(0) 编辑