I have e table like this :
A B
1 1.5
1 1.5
2 2.3
2 2.3
2 2.3
3 1.5
3 1.5
how could i make the sum of column B, grouped by in 1.5, 2.3 and 1.5. in few words, I want to group by first and then make the sum(), but in one select.
in this table, if you group by A column the result is:
A B
1 1.5
2 2.3
3 1.5
now i want to sum() the B column.