I have a query that returns a list of person_id
select person_id from per_all_people_f .
and i have another function that takes person_id as a parameter.
package1.get_person_company(p_person_id)
what i want to do is to get the result as
person_id,get_person_company_result
so the function is invoked with all returned values from the first query. how to achieve that?