Composite Types
Learn about composite types in PostgreSQL.
We'll cover the following...
We'll cover the following...
PostgreSQL tables are made of tuples with a known type. It’s possible to manage that type separately from the main table, as in the following script:
Building a composite type
The rate table works exactly like the rates table that we defined earlier.
We’ll get the kind of result we expect:
...