Hi, i have a table like this
NAME VALUE
-----------------
bla 1
bla 2
bla 2
bla 3
bla 1
bla 4
bla 2
How can i do a sum of ONLY different values , and ignore the repeating values (is it possible?)? Something like this :
SELECT SUM(??condition?? value) as total FROM table
And the sum should be 10.
Thank you!