题海让大学四年没有难题
白天模式登陆

题目详情

填空题 以下是基于数据完整性校验的存储过程实现,代码如下: SQldelimiter $$ create 【5】 proc_validateproduct( )begin -- 检查价格是否为正数 insert into data_issue(productid, issue) select productid, '价格必需是大于的正整数!' from product where unitprice 【3】 0; -- 检查分类是否存在 insert into data_issue(productid, issue) select productid, '分类不存在!无效分类!' from product p left join category c on p.category = 【2】.catid where 【2】.catid is null;end 【4】 delimiter ; 调用存储过程的语句是【1】. 根据业务实现完成程序补全

数据库技术课程封面

学科:数据库技术

时间:2025-07-07 07:55:26

Copyright © 2022 津ICP备2021001502号