摘要: -- 多表关联查询删除; -- from 前面用表名的别名才可以,否则会修改失败; DELETE s,u1 FROM stu as s INNER JOIN stu_lesson as u1 ON s.id = u1.stu_id WHERE s.id =12 -- u1.stu_id=112 关联 阅读全文
posted @ 2022-09-15 15:19 入门级小菜 阅读(1406) 评论(0) 推荐(0) 编辑