Just wondering if anyone can help me avoid the "Ambiguous outer join" error in the following bit of SQL:
Code:
TRANSFORM Count(Tbl_events.DateTime) AS CountOfDateTime SELECT Tbl_Grid.GridSquare FROM (Tbl_Grid LEFT JOIN Tbl_Locations ON Tbl_Grid.ID = Tbl_Locations.GridSquare) INNER JOIN Tbl_events ON Tbl_Locations.ID = Tbl_events.Tbl_Locations_ID GROUP BY Tbl_Grid.GridSquare ORDER BY Tbl_Grid.GridSquare PIVOT Hour([DateTime]);
Comment