更新一张与另一张表关联的连接字段记录

UPDATE enrollments e
JOIN students s ON e.student_id = s.student_id
SET e.email = s.email;

posted @ 2024-10-12 11:40  蜗牛使劲冲  阅读(2)  评论(0编辑  收藏  举报