当前位置:Gxlcms > 数据库问题 > SQL exists( select 1 from

SQL exists( select 1 from

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

______________________________________________________________________________

use MyMvc
select * from Info_Company
select * from Info_Empoyee
select * from Info_Empoyee left Join Info_Company on Info_Empoyee.CompanyID=Info_Company.CompanyID
select * from Info_Empoyee where exists(select 1 from Info_Company where Info_Empoyee.CompanyId=Info_Company.CompanyID)

  

技术分享

SQL exists( select 1 from

标签:

人气教程排行