参考下面: update student s left join class c on d.index_id = c.id set d.number =0,d.age=0 WHERE c.type='all' Post Views: 4,471 Related posts: mysql左连接—left join mysql常用指令 mysql中的外键 mysql消除重复数据 mysql内连接(inner join) mysql如何插入一百万条数据 分类: mysql 标签:left joinmysqlupdate