SELECT Btable.MonthName, tblAlignment.TeamNo, Btable.CC, tblAlignment.Alias, tblAlignment.RealName, tblAlignment.GM, tblAlignment.CM, tblAlignment.Division, tblAlignment.BOM, tblAlignment.Goal, Btable.PDC, Btable.Cash, Btable.PCASH, Btable.Ncash
FROM Btable INNER JOIN tblAlignment ON (Btable.MonthName = tblAlignment.MonthName) AND (Btable.CC = tblAlignment.CC)
WHERE (((Btable.DateVa) In (SELECT Max(Btable.DateVa) AS MaxOfDateVa FROM Btable)))
GROUP BY Btable.MonthName, tblAlignment.TeamNo, Btable.CC, tblAlignment.Alias, tblAlignment.RealName, tblAlignment.GM, tblAlignment.CM, tblAlignment.Division, tblAlignment.BOM, tblAlignment.Goal, Btable.PDC, Btable.Cash, Btable.PCASH, Btable.Ncash;
|