2012年8月4日 星期六

About MySQL SUM column

Database is important for the website.  It can use the MySQL to setup database for PHP+MySQL.  But if we want to sum all columns in the MySQL, it can not use the SUM(*).  You just can use SUM(column1), SUM(column2).. or you will need a for loop for this.

沒有留言:

張貼留言