PostgreSQL - Views and Materialized Views
Given the following commands:
What will be the output of the SELECT query?
CREATE TABLE products (id INT, price INT); INSERT INTO products VALUES (1, 100), (2, 200); CREATE MATERIALIZED VIEW cheap_products AS SELECT * FROM products WHERE price < 150; SELECT * FROM cheap_products;
What will be the output of the SELECT query?
