花费 5 ms
sql查询:存在A表而不在B表中的数据

A、B两表,找出ID字段中,存在A表,但是不存在B表的数据。 方法一:使用 not inselect distinct A.ID from A where A.ID not in (select I ...

Wed Sep 19 19:56:00 CST 2018 0 13198

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM