我的SQL查询有什么问题?
UPDATE template SET template = template . "hello"
Run Code Online (Sandbox Code Playgroud)
MySQL中的连接使用了+我相信,而不是.(那是php).或者,您可以使用CONCAT:
UPDATE template SET template=CONCAT(template,'hello');
Run Code Online (Sandbox Code Playgroud)