UPDATE student SET name = institute.inst_name FROM institute WHERE student.student_id = institute.inst_id;