我的问题是我在MS Access 2010中有一个代码会引发语法错误。这是一个查询代码。
select distinct Daily_Output20151013.[Lot No], atabla.[Outgoing date] as ext1date, btabla.[outgoing date] as plg1date, ctabla.[outgoing date] as str1date
from (((Daily_Output20151013
inner join (select Daily_Output20151013.[lot no]
from (Daily_Output20151013.[outgoing date]
where Daily_Output20151013.[Process Pattern] = 'a') as atabla on Daily_Output20151013.[Lot No] = atabla.[Lot No])
inner join (select [lot no], [outgoing date] from Daily_Output20151013
where Daily_Output20151013.[Process Pattern] = 'b') as btabla on Daily_Output20151013.[Lot No] = btabla.[Lot No])
inner join (select [lot no], [outgoing date] from Daily_Output20151013
where Daily_Output20151013.[Process Pattern] = 'c') as ctabla on
Daily_Output20151013.[Lot No] = ctabla.[Lot No])
Daily_Output20151013是一个现有的表,atabla,btabla和ctabla是尚不存在的表,我需要它们用于查询。 传出日期和拍卖号也存在。
提前感谢您的回答。