1. 数据说明 (1) student表 hive> select * from student; # 学生ID 学生姓名 性别 年龄 所在系 # sid sname sex age dept 95002 Aiden female 19 IS 95017 Jacob female 18 IS 95018 Ethan female 19 IS 95013 Matthew male 21 CS 95014 Nicholas female 19 CS ...... (2) course表 hive>
23.查询"张旭"教师任课的学生成绩. select * from score s where cno in ( select cno from course where tno in( select tno from teacher where tname = '张旭')) 24.查询选修某课程的同学人数多于5人的教师姓名. select tname from teacher where tno in ( select tno from course where cno in ( s
分析以下需求,并用代码实现: 1.按照以下描述完成类的定义 学生类 属性: 姓名name 年龄age 成绩score 行为: 吃饭eat() study(String content)(content:表示学习的内容) 2.定义学生工具StudentsTool,有四个方法,描述如下 public void listStudents(Student[] arr):遍历打印学生信息 public int getMaxScore(Student[] arr):获取学生成绩的最高分 public Stu