首页 > 代码库 > RIGHT(s,n)

RIGHT(s,n)

RIGHT(s,n) 用于返回字符串 s 中右边 n 个字符

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

 

 

 

   

RIGHT(s,n)