jwk811 Posted January 14, 2007 Share Posted January 14, 2007 i select a column from the db and i want to add all the numbers in that column together.. how can i do that? Quote Link to comment https://forums.phpfreaks.com/topic/34103-add-all-numbers-in-a-column/ Share on other sites More sharing options...
.josh Posted January 14, 2007 Share Posted January 14, 2007 select sum(columnname) as blah from table Quote Link to comment https://forums.phpfreaks.com/topic/34103-add-all-numbers-in-a-column/#findComment-160382 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.