LEFT(str, end);
LEFT(title,7) 表示 从左截取字符串,7表示end下标位置 可以这样理解 substring(0, 7);
如果title='hello world !'; 那么返回结果就是 hello wo
concat(str1, str2, str3……);
concat(name,'-',id); 返回的字符串参数连接的结果
如果name=tom id=1 那么返回结果就是 tom-1
欢迎关注技术开发分享录:http://fenxianglu.cn/