From e6c3bf024a89447bdb41c19b15ab44f3a048b421 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Wed, 27 May 2020 01:35:05 +0800 Subject: [PATCH] auto commit --- docs/notes/SQL.md | 2 +- notes/SQL.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/notes/SQL.md b/docs/notes/SQL.md index 7527c285..f13e896f 100644 --- a/docs/notes/SQL.md +++ b/docs/notes/SQL.md @@ -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; ``` diff --git a/notes/SQL.md b/notes/SQL.md index 7527c285..f13e896f 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, 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; ```