rtrim
Description
Syntax:
VARCHAR rtrim(VARCHAR str)
This function removes the continuous whitespace that appears from the right of the string.
Example
mysql> SELECT rtrim('ab d ') str;
+------+
| str |
+------+
| ab d |
+------+
Keywords
RTRIM