题解 | #纠错4#
纠错4
https://www.nowcoder.com/practice/bde1451b91084c8cab467387a0e0969c
SELECT cust_name,cust_contact,cust_email FROM Customers WHERE cust_state = 'MI' UNION SELECT cust_name,cust_contact,cust_email FROM Customers WHERE cust_state = "IL" #先比较第一个字符,都是C,看下一个,都是U,前面都是cust,在看下一个,有1,有2,,所以1的在前面,在看后面,有空有0,空在前面,就是1,10,2的排序,你不要把10看成十,要看成字符1加上字符0 ORDER BY cust_name ASC
查看10道真题和解析