--这样才对
declare @t table(字段1 int,字段2 varchar)
insert into @t select 1,'A'
insert into @t select 1,'B'
insert into @t select 2,'B'
insert into @t select 3,'C'
insert into @t select 1,'D'
insert into @t select 2,'D'
insert into @t select 1,'E'
insert into @t select 3,'E'
select * from @t where 字段2 in
(select 字段2 from @t where 字段1 in(1,2) group by 字段2 having count(1)>1)