select cust_id, cust_name, ucase(concat_ws('',substring(cust_contact,1,2),substring(cust_city,1,3))) as user_login ## ucase() 转大写函数,等同于upper(); 同理转小写:lcase()或lower() ## concat_ws() 字符串连接函数,类似concat()但提供了链接字符 ## substring() 截取子串函数,区分substr() from Customers ## ucase() 转...