List the position of players and the average number of points of players of each position.
select position, avg(points) from player group by position