statement

CREATE VIEW

Stores a query definition rather than a physical copy of its rows. Query the view like a table. Example target: SQLite 3.46.1. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
CREATE VIEW name AS query

Working Example

Example Snippetsql
CREATE VIEW large_orders AS SELECT id FROM orders WHERE amount >= 100;
SQL Reference