select article 
from tb tb1 
where class in (select class from tb group by class) 
order by datetime desc Limit 0,10