select cust_id, cust_name, upper(concat(substring(cust_contact,1,2),substring(cust_city,1,3))) as user_login from Customers 根据提示:拼接和别名 'as',以及登录名全部为大写字母。截取:substring(字符串,起始位置,截取数量);拼接:concat(字符串1,字符串2,字符串3......);大写:upper()。