in的写法:
select product_id
from product
where product_id=17=67
and item_no in (select item_no from items)
exists的写法:
select a.product_id
from product a
where a.product_id=17=67
and exists (select 'x' from items b where b.item_no=a.item_no)
in的写法:
select product_id
from product
where product_id=17=67
and item_no in (select item_no from items)
exists的写法:
select a.product_id
from product a
where a.product_id=17=67
and exists (select 'x' from items b where b.item_no=a.item_no)