Re: [MYSQL ] 分數統計 是用COUNT嗎
※ 引述《bluehaerts (5858笨58)》之銘言:
: table a
: class_id score
: c01 100
: c01 80
: c01 70
: c01 85
: c01 88
: c01 75
: c01 70
: 我用 select count(score)
: from a
: where '8%'
: 可是這樣不行耶 請問我是哪邊需要修改阿
說真的.. 看文件有這麼難?..
http://dev.mysql.com/doc/refman/5.1/en/func-op-summary-ref.html
也不用看到詳細的..
只要把這個頁面的 function list 掃過一次,大概就知道了吧...
--
我是上來領便當的...
逛 php 版, database 版只是順便而已...
http://blog.darkhero.net 個人網誌
http://phorum.study-area.org/index.php/board,31.0.html
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.62.60
推
06/16 09:22, , 1F
06/16 09:22, 1F
討論串 (同標題文章)