小弟初学,

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/20 11:08:24
小弟初学,

小弟初学,
小弟初学,

小弟初学,
-- 两种方法
-- 第一种使用if
start:
if (select avg(LabExam) from 表名) =90 then LabExam
when LabExam>=80 then LabExam+1
when LabExam>=70 then LabExam+2
when LabExam>=60 then LabExam+3
else LabExam+5 end
if (select avg(LabExam) from 表名) =80 then LabExam+1
when LabExam>=70 then LabExam+2
when LabExam>=60 then LabExam+3
else LabExam+5 end