I think this question may be more related to MySQL than Perl, but I think there maybe a quick way to do it using Perl? (Apologies if this is mysql related)
What I have is a mysql table with products and one of the columns in the table is 'fee' - I would like to find out the total price by adding up all the fee rows.
I know I could use a while loop to accomplish this, but there maybe a few thousand products soon so I don't know if going through one by one is the best solution in terms of speed.
Any thoughts/advice very appreciated. Best Regards