This is the updated part 2 of the question I asked earlier. I am trying to do the next update, but this request is actually doing nothing.
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 graduation_term_id graduation_year_id
The goal is to get the corresponding graduation_class_id value in the user table. I was told that this will not work, because a match will not be found if the user does not already have the corresponding gradation_class_id. This is a problem because I'm trying to actually get the right one there!
source share