【发布时间】:2017-02-15 05:39:04
【问题描述】:
我正在尝试解决这个问题,但是我已经花了几天时间,而且我似乎无法解决它。
问题要求:
显示产品列表(将 ProductID 和 ProductDescription 显示为前两列)、每种产品的订购次数(第三列)以及每种产品在所有订单中的订购总量(第四列)列)。
数据库:
**Product_T** **OrderLine_T**
ProductID ProductDescription ProductID OrderedQuantity
1 End Table 1 2
2 Coffe Table 2 2
3 Computer Desk 4 1
4 Entertainment Center 3 5
5 Writers Desk 3 3
6 8-Drawer Desk 6 2
7 Dining Table 8 2
8 Computer Desk 4 4
4 1
5 2
7 2
1 3
2 2
3 3
8 3
4 2
7 3
8 10
【问题讨论】:
-
感谢指正!