站內搜尋

Wednesday, February 13, 2013

[MYSQL] 計算總合 "SUM()"


計算指定欄位的所有值總合

SELECT SUM(money) FROM mytable

No comments:

Post a Comment