摘要: distinct单列 select distinct(a) from tableA distinct多列 select distinct a,b,c from tableA 注意此时是将a,b,c三列所有不同的组合全部列出来,而不仅仅只是distinct a 相当于以下语句: select a,b, 阅读全文
posted @ 2021-03-01 15:27 阿星随记 阅读(2151) 评论(0) 推荐(0) 编辑