create table student (
name varchar2(20),
s1 number(3),
s2 number(3),
s3 number(3)
);
insert into student values('ashok',50, 90, 70);
select name,s1,s2,s3, s1+s2+s3 "Total"
from student;
select name,s1,s2,s3,if((s1+s2+s3)>(105)){'pass'} "Total"
from student
group by name;
任何人都可以帮助如何打印新列学生看到每个科目是通过还是失败。