DBERROR: 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 'LIMIT 1' at line 1
SELECT `tr`.`teamID`, `tr`.`aps`, `t`.`name`
FROM `teamrally` AS `tr`
LEFT JOIN `teamrally_teams` AS `t` ON `t`.`team`=`tr`.`teamID`
WHERE `tr`.`userID`= LIMIT 1