PostgreSQL - Advanced PL/pgSQL
You want to write a PL/pgSQL function that takes a table name and a column name as inputs and returns the maximum value in that column. Which approach correctly uses dynamic SQL with EXECUTE to achieve this safely?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions