I have a table data like this:
Product Value
A 20
A 30
B 10
A 20
C 15
C 15
I need to get the sum based on the Value column like:
Product Value Sum
A 20 70
A 30 70
B 10 10
A 20 70
C 15 30
C 15 30
How do I query to create the sum of all A, B and C product still showing all records?