update 多表

UPDATE base_teacher_attendance_schedule
        JOIN
    base_attendance_setting_record ON base_teacher_attendance_schedule.recordsettingid = base_attendance_setting_record.id 
SET 
    base_teacher_attendance_schedule.settingName = base_attendance_setting_record.settingName
WHERE
    1 = 1
        AND base_teacher_attendance_schedule.id = 488752
相關文章
相關標籤/搜索