1
I performed an operation that multiplies the amount of values by the unit value of each one, obtaining the total value per product. How could I add up the total values of all products? I tried with a Sum within a Sum...
EDIT1: I tried to use Rollup but ended up breaking the 100mb limit
You could post your SQL code to better indicate you the use of
sum
. Depending on the fields ofselect
, can display agroup by
. And you need to specify if it is SQL Server, Mysql, Oracle etc.– Ismael