Anda mencari klausa IN
select row_x from table_1
where row_y
IN (
select row_a from table_2 where row_b = x
)
Anda mencari klausa IN
select row_x from table_1
where row_y
IN (
select row_a from table_2 where row_b = x
)