Ver originalSELECT * FROM maestro m INNER JOIN alumno_has_maestro ahm ON m.idmaestro=ahm.maestro_idmaestro INNER JOIN alumno a ON a.idalumnos=ahm.alumnos_idalumnos