且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将两列的总和与两个表的一个列对应

更新时间:2022-12-09 21:37:11

I'm not sure where the issue is, without seeing your code. I built a small sample in SQLFIddle:

SQLFiddle

It's giving me the same result as you have in your post:

IDPARENT    COLUMN_1    COLUMN_2
1            28.25          9.5