首页 > 数据库 > > Gauss 100 关联删除
DELETE training FROM education JOIN training ON education.staff_id = training.staff_id; 或者 DELETE FROM training USING education JOIN training ON training.staff_id = education.staff_id; 主:join 关联表,数据表不能为临时表。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3122924/ ,如需转载,请注明出处,否则将追究法律责任。