2020-06-17
阅读量:
808
MySQL面试题:交换值

第一种写法:

第二种写法:
update salary set sex = replace('mf',sex,"") where sex != ""
repalce 函数的使用方法:







评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论