join table between students and teachers