- 博客(1)
- 收藏
- 关注
原创 MYSQL中Distinct使用
distinct用于对表格中的列去重。 使用时用在所有字段之前 select distinct id from table; 对多列进行去重时,直接罗列colomn名称,例如 select distinct cust_uid,prd_id from table; 查询结果是筛掉了table中(cust_uid+prd_id)相同的值 ...
2021-11-03 12:29:56
122
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人