I have two tables with these columns:
Users: user, class, grade, location.
Classes: class, location
The class column of the Users table references the same colmn in Classes table.
I want to update all rows in the Users table such that each row of the Users table's "location" column is equal to the location of the class.
So i have a row with values: Mike, Math, A+, New York
And the corresponding row in Classes table for Math is: Math, Chicago
I want the user table's row to become Mike, Math, A+, Chicago.
Thanks