I am trying to merge a table using the output of a query in a stored procedure. Is this possible if yes how? This is my sample attempt
CREATE OR REPLACE PROCEDURE