我正在尝试运行此查询错误,但它一直失败;不能在 from 子句中使用表。
update student s1 set tot_cred = (select total_cred from student s inner join taken t on s.id=t.id inner join transfer_course tc on (t.transfer_course_id, t.college_id) = (tc.transfer_course_id, tc.college_id));
任何指针表示赞赏!
谢谢