MySQL中的函数

1.concat

连接字符串,可以用于在现有基础上更新字段

UPDATE upfile
SET uploadpath = CONCAT(
    '/02see/课程设计',
    uploadpath
)
WHERE
    YEAR = '2019'
AND period = 7
AND uploadpath NOT LIKE '%02see%'
    原文作者:第四单元
    原文地址: https://www.jianshu.com/p/f04382740aa3
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞