SQL IN/EXISTS Query Tuning
Hello DBA's
Please help me to tune below query for better performance
select a.id1 , a.id2
from ameta a,pcntl p where p.tabletype=1
and a.moid=p.moid and
a.aid in (select distinct VALUE from PINSTANCES where aid='1141'
and MID IN (select MID from PINSTANCES
where moid='150' and aid='830' and value='5'))
Thanks in advance
jp