2017 - Current player handicap list for Division: 2≠w=true

As at the start of the competition

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 'w=true AND t2.team_id = t1.team_id AND t1.status='a' ORDER BY t1.team_id' at line 8