How can use oracle pipelined function on query to fetch data only first time.
example:
create or replace function best_employees return my_type pipelined;
select * from employees a
join table(best_employees) b
on a.employee_id = b.employee_id;
this query is calling best_employees function more than one time. It must call only first time. How can i do this. Thanks.