From 83e13ca816c3b9e1619e7464c9b976e566a85467 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Wed, 27 May 2020 01:34:22 +0800 Subject: [PATCH] auto commit --- notes/SQL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/SQL.md b/notes/SQL.md index f13e896f..7527c285 100644 --- a/notes/SQL.md +++ b/notes/SQL.md @@ -483,7 +483,7 @@ FROM tablea AS A NATURAL JOIN tableb AS B; 检索所有顾客的订单信息,包括还没有订单信息的顾客。 ```sql -SELECT Customers.cust_id, Customer.cust_name, Orders.order_id +SELECT Customers.cust_id, Orders.order_num FROM Customers LEFT OUTER JOIN Orders ON Customers.cust_id = Orders.cust_id; ```