gpt4 book ai didi

mysql - 在 mySQL 中添加前缀

转载 作者:行者123 更新时间:2023-11-30 23:24:22 25 4
gpt4 key购买 nike

我在某个字段中添加前缀时遇到了这个问题我的领域是

808 - 817(1) 

808 - 818

我要怎么做才能在上面加前缀变成这样

a808 - 817(1)

a808 - 818

最佳答案

我用过这个

UPDATE `" + cboJob.Text + "` SET `Line Number` = CONCAT('a',`Line Number`) WHERE `Line Number` LIKE '%-%'

关于mysql - 在 mySQL 中添加前缀,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14053494/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com