How can I add up values in a SQL column? I have the table set up in xampp and I\'m trying to add up all the values in a column titled \"gross\".
Take a look at the SUM() function documentation for MySQL.
SELECT YourRecordID, SUM(Gross) AS GrossSum FROM YourTable GROUP BY YourRecordID