MySQL 中 delete 语句的子查询限制
生活随笔
收集整理的這篇文章主要介紹了
MySQL 中 delete 语句的子查询限制
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
delete from aaa where id not in (select id from aaa group by name,age)delete from aaa where id not in (select id from (select id from aaa group by name,age))delete from aaa where id not in(select n.id from (select id from aaa group by name,age) as n)
?
總結
以上是生活随笔為你收集整理的MySQL 中 delete 语句的子查询限制的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: javaSE各阶段练习题--工具类-常用
- 下一篇: mysql经典面试题