sql update multiple rows with multi join subselect
问题 This is an updated part 2 of a question I asked earlier. I'm trying to make the following update, but this query does not actually seem to do anything. UPDATE u SET graduation_class_id = gc.graduation_class_id FROM [user] u JOIN graduation_class gc ON u.graduation_class_id = gc.graduation_class_id JOIN graduation_term gt ON gt.graduation_year_id = gc.graduation_year_id TABLE SCHEMA **user user_id graduation_class_id **graduation_class graduation_class_id graduation_year_id **graduation_term