Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/database/sql/sql-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -1292,13 +1292,13 @@ order by c.cust_name;
select c.cust_name, o.order_num
from Customers c, Orders o
where c.cust_id = o.cust_id
order by c.cust_name;
order by c.cust_name,o.order_num;

# 显式内连接
select c.cust_name, o.order_num
from Customers c inner join Orders o
using(cust_id)
order by c.cust_name;
order by c.cust_name,o.order_num;
```

### 返回顾客名称和相关订单号以及每个订单的总价
Expand Down