ERROR: Could not able to execute SELECT player.Full_Name, player.Name, player.number, stats.* FROM player INNER JOIN stats ON player.ID = stats.player_ID WHERE player.number <> '99' AND stats.Season_ID = AND stats.Season_ID IS NOT NULL. 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 stats.Season_ID IS NOT NULL' at line 1