SMStatisticPergame::getPlayersRanking 160 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 'FROM #__sportsmanagement_season_team_person_id AS tp
INNER JOIN (
SELECT SUM(' at line 2
SMStatisticPergame::getPlayersRanking 161 1064
SMStatisticPergame::getTeamsRanking 254 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 'ORDER BY total DESC LIMIT 5' at line 21
SMStatisticPergame::getTeamsRanking 255 1064