如何在Microsoft Access中制定查詢以從這兩個源表中生成以下結果表?訪問查詢默認值,如果不匹配
表1
Item Code
---------
Item 01
Item 02
Item 03
表2
Item Code | Quotation
----------+----------
Default | 5000
Item 01 | 1000
Item 02 | 2000
我想結果表必須是這樣的:
結果表
Item Code | Quotation
----------+----------
Item 01 | 1000
Item 02 | 2000
Item 03 | 5000 <== note no matching item code in table 2
調整後的措辭和格式。刪除了MySQL標籤並使用MS Access標籤進行了重新修復。 –