Update SQL.md

左外连接示例中的一个SQL语句错误
This commit is contained in:
Will 2020-04-25 17:12:34 +08:00 committed by GitHub
parent efeb9b3762
commit 30d40b7574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,7 @@ FROM tablea AS A NATURAL JOIN tableb AS B;
检索所有顾客的订单信息包括还没有订单信息的顾客
```sql
SELECT Customers.cust_id, Orders.order_num
SELECT Customers.cust_id, Customer.cust_name, Orders.order_id
FROM Customers LEFT OUTER JOIN Orders
ON Customers.cust_id = Orders.cust_id;
```