第14周作業

1、 導入hellodb.sql生成數據庫 (1) 在students表中,查詢年齡大於25歲,且爲男性的同學的名字和年齡 SELECT name,age FROM students WHERE age>= 25 AND gender='M'; (2) 以ClassID爲分組依據,顯示每組的平均年齡 SELECT classid,AVG(age) FROM students GROUP BY cl
相關文章
相關標籤/搜索