第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
相关文章
相关标签/搜索