我有ms访问查询的问题。 我在查询中选择了2个表:table1有2个项目,table2有3个项目,两者都与billno连接但是当我在查询中构建查询时,这变为like this:
SELECT
productionpurchase.PurchNo,
productionpurchase.Medicine AS PpurchMedi,
productionpurchase.Qty AS PPurchqty,
productionpurchase.Price AS PpurchTP,
productionpurchase.Srate AS PpurchRP,
productionpurchase.Desc AS PpurchDesc,
production.desc,
production2.ExtraQty,
production.*
FROM (productionpurchase
INNER JOIN production ON productionpurchase.PurchNo = production.BillNo)
INNER JOIN production2 ON productionpurchase.PurchNo = production2.BillNo;