PostgreSQL - PL/pgSQL Fundamentals
Given this code snippet:
What will be printed?
DECLARE
arr text[] := ARRAY['a', 'b', 'c'];
output text := '';
BEGIN
FOREACH ch IN ARRAY arr LOOP
output := output || ch;
END LOOP;
RAISE NOTICE '%', output;
END;What will be printed?
