PostgreSQL - Advanced PL/pgSQL
Which of the following is the correct syntax to declare a PostgreSQL function returning a table with columns
id INT and name TEXT?id INT and name TEXT?RETURNS TABLE(id INT, name TEXT) matching the column names and types.RETURN QUERY SELECT 1, 'a'; which returns rows matching the table structure.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions