看来B 表得到的N条记录只是一个字段,
如:Select Field1 From B其中 B表的 Field1 与 A 表的 Field2 是相同字段,那应该这样写: Select * From A Where Field2 in (Select Field1 From B)
如:Select Field1 From B其中 B表的 Field1 与 A 表的 Field2 是相同字段,那应该这样写: Select * From A Where Field2 in (Select Field1 From B)
select * from a where 字段 in (select 字段 from b where (条件))
或者
select * from a where exists (select * from b where (条件) and b.字段=a.字段)
where A.column in
select B.column from B