如下陳述句,如何整合成一句,一次性跑完.
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'一冊','1冊');
update IGNORE tushu.`原始表 SET `書名排重`=replace(`書名排重`,'二冊','2冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'二冊','2冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'三冊','3冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'四冊','4冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'五冊','5冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'六冊','6冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'七冊','7冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'八冊','8冊');
update IGNORE tushu.`原始表` SET `書名排重`=replace(`書名排重`,'九冊','9冊');
uj5u.com熱心網友回復:
給個格式也行啊uj5u.com熱心網友回復:
我寫出來了,但是有一點不明白為什么會這樣,為什么 not like的時候才可以,按語法理解應該是like時候才能實作啊,為什么是反過來的
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/26642.html
標籤:MySQL
上一篇:程式請教
