In generalisation of my previous question, how can a weighted average over cell elements (that are and shall remain arrays themselves) be performed?
I\'m trying to get the weighted average of a few numbers. Basically I have: Price- 134.42 Quantity - 15236545
My goal is to get a weighted average from one table, based on another tables primary key. Example Data:
Maths isn\'t my strong point and I\'m at a loss here. Basically, all I need is a simple formula that will give a weighted rating on a scale of 1 to 5. If there are very fe开发者_运维技巧w votes, they
Let\'s say I have a MySQL table that is something like this: software table: id int name text votes int rating int