Dropping a materialized view

Drop materialized views with the DROP MATERIALIZED VIEW command.

Use the DROP command to drop a materialized view.

Procedure

Drop the cycling.cyclist_by_age materialized view.
DROP MATERIALIZED VIEW IF EXISTS cycling.cyclist_by_age;