simonp Posted December 1, 2007 Share Posted December 1, 2007 Hi, I have a table with lots of records, eg: 2 7 4 8 32 5 3 . . . and want to be able to display the total of the values in this table - how would I go about that? Cheers Simon Quote Link to comment Share on other sites More sharing options...
dewey_witt Posted December 1, 2007 Share Posted December 1, 2007 Select sum(`feild_name`) from `where_ever`; the sum() function works good. Quote Link to comment 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.