mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
[docs fix] Issue #2109
This commit is contained in:
parent
d737d39256
commit
c188cb6fc7
@ -953,10 +953,9 @@ WHERE condition;
|
||||
```sql
|
||||
SELECT cust_id
|
||||
FROM Orders
|
||||
WHERE order_num IN (SELECT order_num
|
||||
WHERE order_num IN (SELECT DISTINCT order_num
|
||||
FROM OrderItems
|
||||
GROUP BY order_num
|
||||
HAVING Sum(item_price) >= 10)
|
||||
where item_price >= 10)
|
||||
```
|
||||
|
||||
### 确定哪些订单购买了 prod_id 为 BR01 的产品(一)
|
||||
|
Loading…
x
Reference in New Issue
Block a user