ZKX's LAB

oracle如何查询一张成绩表中最高分 oracle 成绩表

2020-09-23知识5

oracle:已知成绩表stu,有列time,name,english,chinese,math,其中time表示考试时间,如果有补考 select name,chinese,math from stu where 1=1 and time=max(time);

数据库提oracle 一张成绩表(里面有三个字段 姓名,学科,成绩) 求显示所有学科均及格的同学名字。 select 姓名from 成绩表group by 姓名having count(case when 成绩)=0或者select 姓名from 成绩表where 姓名 not in(select 姓名 from 成绩表 where 成绩)

oracle如何查询一张成绩表中最高分 查询最高的分数是多少的话:select max(分数列名)from 表查询最高分都是谁的话select 姓名,分数 from 表 where 分数=(select max(分数)from 表)希望能帮到您。

#oracle数据库#select#oracle#oracle函数

随机阅读

qrcode
访问手机版