fix query to only select distinct sponsors in stats_team.php