Table 'bigschool_class.study_log' doesn't exist in SELECT count(l.id) FROM study_log l INNER JOIN teacher_lesson t ON l.teacher_lesson_id = t.id WHERE l.student_id = 136333 ORDER BY l.timestamp DESC LIMIT 0,10

ERRROR!