5010 South Service Road
Burlington, ON   L7L 5Y7
E-mail: contact@burlingtonsoccerleague.ca

ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and S.SeasonID = D.SeasonID and D.SeasonID = 2018' at line 4 select T.*, D.Name DivisionName, S.EndYear, S.StartYear, L.* from Teams T, Leagues L, Divisions D, Seasons S where T.TeamID = L.TeamID and L.DivisionID = D.DivisionID and IsACupBoolean = 0 and T.TeamID = and S.SeasonID = D.SeasonID and D.SeasonID = 2018