我的表格栏 -
我的预期输出将在列中更改-
Smith, Allen, Doyle, Dennis, Baker, Waker
这是我尝试过的,但没有用:( -
UPDATE TABLE `employee`
SET last_name = UCASE(LEFT(lower(last_name), 1))
UPDATE TABLE `employee`
SET last_name = ucase(lower(last_name),1)
也关注了这个链接 -资源
错误 -
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TABLE `employee` SET last_name = UCASE(LEFT(lower(last_name), 1))' at line 1
让我知道我做错了什么以及如何解决。