La consulta SELECT EM.*,M.nombre, M.color, M.nick, U.nombre as profesor, U.apellido FROM evd_eval_mat as EM
INNER JOIN materias as M on id=idMateria and EM.generacion=M.generacion and EM.grupo=M.grupo
LEFT JOIN users as U on M.logProf=U.login
WHERE EM.idMateria=7 AND EM.generacion=4 AND EM.grupo='' no regresó resultados