各个数据库软件对于sql的支持(二)
lse
if exists(select * from credits where credits.sno=new.sno) then
update credits
set nopass=1+nopass
where sno=new.sno;
else
insert into credits values(new.sno,0,1);
end if;
end if;
end|
mysql不支持视图触发器;