PL-SQL block the result of the first query as a parameter for the second query

welcome to shbcf.ru