SQL 合集
1.判斷兩個關聯的表中,一個表中的值,對應的在另一個表中為空
1) select *from A where id not in (select id from B) 2) select A.* from A LEFT JOIN B ON A.id = B.ID WHERE B.ID IS NULL?
轉載于:https://www.cnblogs.com/ms-grf/p/9081692.html
總結
- 上一篇: CSS代码检查工具stylelint
- 下一篇: 七天学会ASP.NET MVC (二)—