问题
Yesterday I posted a question on which said sum of columns of a table. See here!
However, I got into some other complications. I have a second table that needs to have a column added in correspondence with the first.
Here's what I need:

The column 'sum2' is new and I am not able to sum it correctly!
回答1:
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
来源:https://stackoverflow.com/questions/19008870/sum-two-columns-that-corresponds-a-agregate-from-a-columns-of-two-tables