student和score表mysql語句

score表 student表 – 從student表中查詢年齡18~22歲的學生信息 SELECT * FROM student WHERE 2017-birth BETWEEN 18 AND 22; – 從student表中查詢每個院系有多少人 SELECT department,COUNT(*) FROM student GROUP BY department – 計算每個學生的總成績 SE
相關文章
相關標籤/搜索