我不知道問題是什麼。有什麼想法嗎? 我試圖從grading表更新我的first_q列。帶INNER JOIN的MySQL更新語句
UPDATE gradings g set g.first_q = 90 FROM gradings
INNER JOIN subjects ss
on ss.subject_id = g.subject_id
INNER JOIN students s
ON s.id = g.student_id
INNER JOIN school_years sy
on sy.id = g.sy_id
INNER JOIN teachers t
on t.id = g.teacher_id
WHERE s.id = 1;
你得到任何錯誤或你有什麼問題? – Jens
你可以投我的答案嗎? –