答案 0 :(得分:1)
删除您创建的表关系。它没有用。您需要的是这样的东西:
SELECT Teams.[TeamNameField], Year([Date]) AS MatchYear, [HomeYellowCardField] AS YellowCards FROM Matches INNER JOIN Teams ON Matches.HomeTeam=Teams.[TeamIDField]
UNION ALL
SELECT Teams.[TeamNameField], Year([Date]) AS MatchYear, [AwayYellowCardField] AS YellowCards FROM Matches INNER JOIN Teams ON Matches.AwayTeam=Teams.[TeamIDField]
将其保存为永久查询。以此为起点,达到最终目标应该容易得多。