The INTERSECT operator returns a resultset containing the matching values from the two queries.
select * from tableA
where term_a in
( select term_a from tableA
intersect
select term_b from tableB )
;
Because you want to select additional columns from TABLEA you need to use the output of the intersection as a sub-query.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…