So, i have a query which looks like this:
SELECT sum(distinct 101-players.position) as points from players INNER JOIN clubs ON players.id_club=clubs.id_club GROU