name shuliang009 3220 1009 3004 2
想得到的结果是比如009只留一个。然后所有求和。输出结果是6。这个应该怎么写
收起
直接在字段前加 distinct 修饰
select distinct * from tb1
报告相同问题?