他们上小学时就在一个班They in a class in grade school
they have been in the same class since primary
They have been in the same class since primary school.