PostgreSQL - Advanced PL/pgSQL
Given this code snippet:
What error will occur when running this code?
DECLARE cur CURSOR FOR SELECT name FROM products; OPEN cur; FETCH cur; CLOSE cur; FETCH cur;
What error will occur when running this code?
