庫名:test
表名:goods
列屬性

select goods_id,goods_name,(market_price-shop_price) as discount from goods where cat_id!=3;
錯誤:
ERROR 1690 (22003): DECIMAL UNSIGNED value is out of range in '(`test`.`goods`.`market_price` - `test`.`goods`.`shop_price`)'
請問大佬為何會出現這種情況
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/110416.html
標籤:疑難問題
下一篇:買什么書好啊
