String Functions MySQL Tutorial

mysql>
mysql> SELECT SUBSTRING('ABCDEFGHIJK',5,6);
+------------------------------+
| SUBSTRING('ABCDEFGHIJK',5,6) |
+------------------------------+
| EFGHIJ                       |
+------------------------------+
1 row in set (0.00 sec)
mysql>