select a.id1,sum(num) from 表A a,表B b where a.id1=left(b.id2,len(a.id1)) group by a.id1
34,593
社区成员
254,589
社区内容
加载中
试试用AI创作助手写篇文章吧