String Functions MySQL Tutorial

mysql>
mysql> SELECT RIGHT('ABCDEFGHIJK', 4);
+-------------------------+
| RIGHT('ABCDEFGHIJK', 4) |
+-------------------------+
| HIJK                    |
+-------------------------+
1 row in set (0.02 sec)
mysql>