I tell you, I have a function
CREATE OR REPLACE FUNCTION test_funcion(x numeric)
RETURNS TABLE(codigo character varying) AS 'consulta'
LANGUAGE
sql;
Which when entering an id (X) brings me a list of codes of purchases of that client .. it works perfect, what I wanted to know is if there was any possibility for that list of codes that I can return them put as input to another function, for example
funcion1 (x numeric)
funcion2 (todos los codigos que me trajo la funcion1)
Thank you!