1. 程式人生 > >RIGHT(s,n)

RIGHT(s,n)

color select -- class oot log mysq pre col

RIGHT(s,n) 用於返回字符串 s 中右邊 n 個字符

mysql> SELECT RIGHT(football,4);
+---------------------+
| RIGHT(football,4) |
+---------------------+
| ball                |
+---------------------+

RIGHT(s,n)