我需要创建一个函数,如果会话中学生的所有笔记都超过 94 所以 95 或更多,我将返回 true
它在plsql oracle上。我尝试了很多事情请帮助我
create or replace function BonnePerformance (CodeP in char, CodeS in char)
return boolean is
declare
noteMauvaise integer;
begin
select Min(note) into noteMauvaise
from Inscription
where codePermanent = CodeP and codeSession = CodeS ;
if noteMauvaise < 95 then
return false;
else
return true;
end if;
end;
/
如果学生的这个功能是真的,我也将它添加到一个好学生列表并打印出来。
对不起我的英语我是法语