How can I write criteria query to this following sql query.
select i.item_id,i.item_name,l.item_price
from items i,pricelists l,sections s
where i.id=100 and l.item_id=100
and i.item_id not in (select s.item_id where s.id=100);
Thanks in Advance