select id, sum(case when money is null then 0 else money end +case when money2 is null then 0 else money2 end +case when money3 is null then 0 else money3 end ) from tb group by id
34,590
社区成员
254,589
社区内容
加载中
试试用AI创作助手写篇文章吧