PostgreSQL - Views and Materialized Views
Consider this SQL:
Which of the following is a common mistake that would cause an error or unexpected behavior?
CREATE MATERIALIZED VIEW recent_orders AS SELECT * FROM orders WHERE order_date > CURRENT_DATE - INTERVAL '7 days'; REFRESH MATERIALIZED VIEW recent_orders;
Which of the following is a common mistake that would cause an error or unexpected behavior?
