oracle8.1.6 select f.faq_id, f.faq_name from acs_objects o, faqs f where object_id = f.faq_id and context_id = :package_id select 1 from dual where exists (select 1 from acs_objects o, faqs f where object_id = f.faq_id and context_id = :package_id)