An exception occurred while executing ' SELECT clm.id AS id, clm.classroomId AS classroomId, clm.userId AS userId, cm.learnedCompulsoryTaskNum AS learnedCompulsoryTaskNum, cm.learnedElectiveTaskNum AS learnedElectiveTaskNum FROM classroom_member clm INNER JOIN ( SELECT classroomId, userId, SUM(learnedCompulsoryTaskNum) AS learnedCompulsoryTaskNum, SUM(learnedElectiveTaskNum) AS learnedElectiveTaskNum FROM course_member WHERE classroomId IN (?) AND userId IN (?) GROUP BY classroomId, userId ) cm ON clm.classroomId = cm.classroomId AND clm.userId = cm.userId AND clm.id IN (?); ' with params ["1", "3", "1"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'learnedElectiveTaskNum' in 'field list'