我的选择查询是:
Select A.DocumentID,
A.CodingID,
A.DebitPrice,
A.CreditPrice,
A.DocumentDetailDescriptionID,
A.HKSID,
A.OldInc,
A.EffectiveDate,
A.DetailedAccount1ID,
A.DetailedAccount2ID,
A.DetailedAccount3ID,
C.FinancialPeriodID,
C.SalesCompanyID,
B.[Date]
From acc.DocumentDetail A
INNER JOIN ACC.Document B ON B.DocumentID = A.DocumentID
INNER JOIN ORG.SalesCompanyFinancialPeriod C ON C.SalesCompanyFinancialPeriodID = B.SalesCompanyFinancialPeriodID
acc.DocumentDetail 有大约 12917388 条记录
acc.documet 有大约 131767 条记录
org.SalesCompanyFinancialPeriod 有大约 93 条记录
我的查询很慢,我想让它更快。我必须使用什么提示?