题解 | 返回顾客名称和相关订单号
SELECT cust_name, order_num FROM Customers,Orders WHERE Customers.cust_id=Orders.cust_id ORDER BY cust_name
不要把FROM和WHERE合成一行去写
SELECT cust_name, order_num FROM Customers,Orders WHERE Customers.cust_id=Orders.cust_id ORDER BY cust_name
不要把FROM和WHERE合成一行去写
相关推荐