Does MySQL have any functions like SUM
but then do the MULTIPLICATION
of a collumn?
Example: I have an table like this, and I want to multiply the entire collumn
+--------------+
| combinations |
+--------------+
| 3 |
| 5 |
| 4 |
| 6 |
| 1 |
| 3 |
| 4 |
+--------------+
expected result:
+----------------------------+
| product_total_combinations |
+----------------------------+
| 4320 |
+----------------------------+
I cannnot find anywhere how to achieve this. Any help is appreciated.