Question-
How would I add all the rows of a particular column together in MySQL? (Each cell contains a number.)
Thanks!!
--ArchBison
| SitePoint Sponsor |
Question-
How would I add all the rows of a particular column together in MySQL? (Each cell contains a number.)
Thanks!!
--ArchBison





Try this:
SELECT SUM(column1) AS sum_of_column1 FROM table1;
Bookmarks