select cust_id,cust_name,upper(concat(left(cust_contact,2),left(cust_city,3))) user_login from Customers; 1、从左开始截取字符串SELECT LEFT(str,len)str:被截取的字符串len:截取长度2、从右开始截取字符串SELECT RIGHT(str,len)str:被截取的字符串len:截取长度第二种方法:select cust_id,cust_name,upper(concat(substring(cust_name,1,2),substring(cust_city,1,3)...