I created a table like this :
id price count product_id
1 100 1 1
2 120 3 3
...
now I would like to get sum of all multiple count
and price
.
for this example :
(100 * 1) + (120 * 3) = 460
what I want is : 460
is it possible to use only the sql ?