当前位置:Gxlcms > 数据库问题 > SQL查询

SQL查询

时间:2021-07-01 10:21:17 帮助过:22人阅读

select A.ID from A left join B on A.ID=B.ID where B.ID is null

技术图片

方法三

  逻辑相对复杂,但是速度最快  ~执行时间: 0.570秒~

select * from  B 
where (select count(1) as num from A where A.ID = B.ID) = 0

出处:地址

SQL查询

标签:image   app   技术   连接   log   速度   另一个   sha   src   

人气教程排行