删掉学生表里没有班级表里得班级数据——sql

delete from st_student where st_class not in (select id from st_class )
发布了125 篇原创文章 · 获赞 41 · 访问量 2745

猜你喜欢

转载自blog.csdn.net/qq_43618030/article/details/103673785