PostgreSQL - Views and Materialized Views
You try to create a view with
CREATE VIEW v AS SELECT * FROM table WHERE; but get a syntax error. What is the likely cause?