Return a sum of values common to an attribute in sql? Return a sum of values common to an attribute in sql? database database

Return a sum of values common to an attribute in sql?


You can try this

SELECT Name, SUM(Value)FROM MyTableGROUP BY Name