top of page
CerebroSQL

PostgreSQL:  

CREATE MATERIALIZED VIEW

CREATE MATERIALIZED VIEW table_name
[ (column_name [, ...] ) ]
[ WITH ( storage_parameter [= value] [, ... ] ) ]
[ TABLESPACE tablespace_name ]
AS query
[ WITH [ NO ] DATA ]

Example

bottom of page