謝晒的PHP網頁設計
聯絡E-mail:
sean0704@gmail.com
站內搜尋
Wednesday, February 13, 2013
[MYSQL] 取最大值 "MAX()" 、 取最小值 "MIN()"
取出指定欄位中的最大值
SELECT MAX(money) FROM mytable
取出指定欄位中的最小值
SELECT MIN(money) FROM mytable
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment