mysql中功能强大的trim()函数.去除两边空格:mysql> select trim(' hello world ');+-----------------------+| trim(' hello world ') |+-----------------------+| hello world |+-----------------------+1 row in set去除左边空格:select ltrim(' hello world ');去除右边空格:select rtrim(' hello world ');t Read More