I would like to join two tables in one. I first are totals sums and in secound is partial sums.
result
something | total | month
xxxx | 100 | 20
yyyy | 125 | 45
data
goods|price|month
xxx |5 |2
xxx |8 |2
yyy |3 |3
Is possible use WHERE on one colomn?