1
heyli 2013-05-16 15:46:50 +08:00
RIGHT函数
google下mysql 字符串截取 |
2
123123 2013-05-16 15:48:26 +08:00 1
SUBSTR(column_name, 1, LENGTH(column_name)-3)
|
4
heyli 2013-05-16 17:47:55 +08:00
SELECT RIGHT(字段,3) from table
|
5
66beta 2013-05-16 18:21:48 +08:00
赞2楼,思路很清楚,长度-3
|