我想弄清楚這個問題,但它已經花了我幾天,我似乎無法解決它。SQL /微軟Access
的問題要求:
顯示的產品(顯示產品ID和產品描述的前兩列)的列表,每個產品已被責令次數(第三列),總數量的每個產品已經訂購了所有訂單(第四列)。
數據庫:
**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
謝謝你的糾正! –