Select Item.IName, Item_Supply.AvailableQuantity
From Item
Join Item_Supply ON Item.ItemKey = Item_Supply.ItemKey
JOIN Supplier ON Item_Supply.SupplierKey = Supplier.SupplierKey
JOIN Country ON Supplier.NationKey = Country.CountryKey
JOIN Region ON Country.RegionKey = Region.RegionKey
Where Item_Supply.AvailableQuantity > 1000
AND Region.RName = 'East Asia'
是的,您可以加入查询中的任何列。主键和外键用于参照完整性。