存在以下数据表tblProducts
Create table tblProducts
(
productID int primary key, -- 商品编号
productName char(10) not null, -- 商品名称
price decimal(5,1) – 单价
)
Insert into tblProducts values(1,’apple’,5.5),(2,’orange’,3.5),(3,’pear’,6),(4,’chewberry’,11)
当商品价格为5~6 元,涨价10%
当商品价格大于10元,涨价5%
其余价格不变。

关于#mysql游标#的问题,如何解决?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-