mysql> select trim(',hi,test,',',');
ERROR 1064 (42000): You have an error in your SQL syntax;
我想通过修剪,
但似乎不被MySQL支持
最佳答案
Check the doc ...
SELECT TRIM(BOTH ',' FROM ',hi,test,')
关于mysql - 如何实现选择修剪(字符串,',');对于MySQL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3156512/