首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

关于 exists 的表达式或方法~该如何解决

2012-03-08 
关于 exists 的表达式或方法~~select * from Table_A as awhere exists(select 1 from Table_Bwhere a.ID

关于 exists 的表达式或方法~~

select * from Table_A as a
  where exists(select 1 from Table_B
  where a.ID = ReferenceID)


Linq是如何写的..?

[解决办法]
var q = from c in Table_A where c.Table_B.Any()
select c

热点排行