What were all the salary values of players in 2010 and 2001?
select salary from salary where year = 2010 union select salary from salary where year = 2001
What was the average salary of players in 2010?
select avg ( salary ) from salary where year = 2010