trimdescriptionSyntaxexamplekeywordstrimdescriptionSyntaxVARCHAR trim(VARCHAR str) 将参数 str 中右侧和左侧开始部分连续出现的空格去掉 examplemysql> SELECT trim(' ab d ') str;+------+| str |+------+| ab d |+------+keywordsTRIM