Skip to main content

Syntax

Parameters

Example

Say we create the table t3 in the public schema and a view v3.
Then we can use SHOW VIEWS to show the existing views.
Starting from v2.7.0, the name column in the output includes the schema name as a prefix (e.g., public.view_name). This helps distinguish views with the same name in different schemas when querying across multiple schemas in the search path.

CREATE VIEW

SHOW CREATE VIEW