PostgreSQL - Advanced Features
Given the composite type and table:
What will the query return?
CREATE TYPE address AS (city text, zip integer);
CREATE TABLE users (id serial, home address);What will the query return?
SELECT (home).city FROM users WHERE id = 1;