I\'m new to using mathematical formulas in MySQL and am having an issue with a simple function. I wrote this as I would in Excel. The function works but throws an error at eac