mysql 學生成績練習題

studenthtml course正則表達式 teachersql score數據庫 1 查詢Score表中至少有5名學生選修的並以3開頭的課程的平均分數post select cno,avg(degree) from score group by cno having count(*)>=5 and cno regexp "^3" 思路:按課程分組,計算各課程選修人數,用正則表達式找到以3開頭
相關文章
相關標籤/搜索