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 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(). 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 ? 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(). 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 ... 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
Archived
This topic is now archived and is closed to further replies.