sql中replace函数怎么用
在SQL中,REPLACE函数用于替换字符串中的某个子串。其语法为:REPLACE(原字符串, 要替换的子串, 替换成的子串)。REPLACE(‘Hello World’, ‘World’, ‘China’),将返回’Hello China’。 在SQL中,REPLACE() 函数用于替换字符串中的某个子串,它的使用方法如下: 语法 REPLACE(str, from_str, to_str)...