A little more information on the problem I was given the task to set data in one table based on the AVG scores of data from a different table. For instance using the tables here