MySQL字符串截取
mysql> select left('helloguy.com', 3);
+-------------------------+
| left('helloguy.com', 3) |
+-------------------------+
| sql |
+-------------------------+ mysql> select right('helloguy.com', 3);
+--------------------------+
| right('helloguy.com', 3) |
+--------------------------+
| com |
+--------------------------+ mysql> select substring('helloguy.com', 4);
+------------------------------+
| substring('helloguy.com', 4) |
+------------------------------+
| study.com |
+------------------------------+