Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 'as total
FROM statistics
LEFT JOIN player ON player.pid = statistics.pid
WHER' at line 5' in /var/www/vhosts/dmbreplays-dev.com/httpdocs/modules/data/team_statistics_batting.php:190
Stack trace:
#0 /var/www/vhosts/dmbreplays-dev.com/httpdocs/modules/data/team_statistics_batting.php(190): PDOStatement->execute()
#1 /var/www/vhosts/dmbreplays-dev.com/httpdocs/modules/display/team_landing.php(998): include_once('/var/www/vhosts...')
#2 /var/www/vhosts/dmbreplays-dev.com/httpdocs/index.php(10): require_once('/var/www/vhosts...')
#3 {main}
thrown in /var/www/vhosts/dmbreplays-dev.com/httpdocs/modules/data/team_statistics_batting.php on line 190