SQL Function Reference

RTRIM
Returns a string with all spaces removed from the right edge
MySQL
RTRIM(str)
Examples
MySQL
SELECT RTRIM('  Hello  ')