Could not run query SELECT * FROM .players ORDER by rating DESC: 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 '.players ORDER by rating DESC' at line 1
Could not run query SELECT name FROM .players WHERE training = 1 ORDER by rating DESC: 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 '.players WHERE training = 1 ORDER by rating DESC' at line 1

Tables assignment

Players