imarockstar Posted May 11, 2009 Share Posted May 11, 2009 I have a db ... with the row name of GUARANTEE ... There are about 20 or so rows with data in them .. I would like to get the sum of all the rows ... I am not sure on how to do that ... any help would be awesome !!! thanks b Quote Link to comment https://forums.phpfreaks.com/topic/157729-solved-getting-the-sum-of-multiple-rows/ Share on other sites More sharing options...
Maq Posted May 11, 2009 Share Posted May 11, 2009 Use the aggregate function, SUM(). Quote Link to comment https://forums.phpfreaks.com/topic/157729-solved-getting-the-sum-of-multiple-rows/#findComment-831897 Share on other sites More sharing options...
imarockstar Posted May 11, 2009 Author Share Posted May 11, 2009 is there a site where I can learn how to use that ? like a reference site ? Quote Link to comment https://forums.phpfreaks.com/topic/157729-solved-getting-the-sum-of-multiple-rows/#findComment-831901 Share on other sites More sharing options...
Maq Posted May 11, 2009 Share Posted May 11, 2009 I did... Use the aggregate function, SUM(). Quote Link to comment https://forums.phpfreaks.com/topic/157729-solved-getting-the-sum-of-multiple-rows/#findComment-831904 Share on other sites More sharing options...
imarockstar Posted May 11, 2009 Author Share Posted May 11, 2009 lol .. duh ... sorry .. its monday ... Quote Link to comment https://forums.phpfreaks.com/topic/157729-solved-getting-the-sum-of-multiple-rows/#findComment-831906 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.