填空题
MySQL数据程序设计
题号 #3613856
在表KC上创建一个存储过程,用于实现给定KC中一个课程号KNO,即可为表KC中该课程号对应的课程指定一个新的学时。
Create procedure update_xueshi(_______ kechengno int,______ new_xueshi int)
Begin
_____________________________________________________________
End$$
参考答案
暂无
答案解析
Create procedure update_xueshi(in kechengno int,in new_xueshi int)
Begin
Update kc set xueshi=new_xueshi where kno=kechengno;
End$$
Begin
Update kc set xueshi=new_xueshi where kno=kechengno;
End$$
你可能感兴趣的试题
A.grant select,insert on studb.stuinfo for‘zhangsan’@’localhost’
B.grant select,insert on studb.stuinfo to ‘zhangsan’@’localhost’
C.grant‘zhangsan’@’localhost’ to select,insert for studb.stuinfo
D.grant ‘zhangsan’@’localhost’ to studb.stuinfo on select,insert