Syntax
RIGHT(str,len)
Purpose
RIGHT() returns the rightmost len characters of the str string. If str or len is NULL, NULL is returned.
This function is multi-byte safe.
Examples
obclient> SELECT RIGHT('oceanbase',4);
+----------------------+
| RIGHT('oceanbase',4) |
+----------------------+
| base |
+----------------------+
1 row in set