Find the name of students who took any class in the years of 2009 and 2010.
select distinct t1.name from student as t1 join takes as t2 on t1.id = t2.id where year = 2009 or year = 2010