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

LEFT(s,n)

LEFT(s,n) 用于返回字符串 s 开始的最左边 n 个字符

mysql> SELECT LEFT(football, 5);+---------------------+| LEFT(football, 5) |+---------------------+| footb               |+---------------------+

 

 

 

   

LEFT(s,n)