得点ランキング

Database Error
File : /home/futsal-times-com/public_html/league/Jr/osaka_kita/cup/goal.inc
Line : 39
Message : SELECT action.league, count(ACTION) AS goal_count, team.id, team.name, player.id, player.disp_name, action.year FROM `action` , `team` , `player` , `match` WHERE `action` = 1 AND action.league = AND action.year = 2017 AND action.team = team.id AND action.player = player.id AND action.match = match.id AND match.biko NOT LIKE '※フレンドリーマッチ' GROUP BY action.player ORDER BY goal_count DESC
DB 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 action.year = 2017 AND action.team = team.id AND action.player = player.id' at line 4