看板 Database 關於我們 聯絡資訊
分數統計應該是用sum吧 由分數中挑出8x的數加總 SELECT SUM(score) FROM a WHERE score>=80 and score<=89 ※ 引述《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%' : 可是這樣不行耶 請問我是哪邊需要修改阿 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.29.94.129