PostgreSQL - PL/pgSQL Fundamentals
Identify the error in this PL/pgSQL code:
DO $$
DECLARE
val INT := 5;
BEGIN
IF val > 3
RAISE NOTICE 'Greater than 3';
END IF;
END $$;