i 拥有类似表格
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
数额应为10。
谢谢!