This document discusses SQL views, including:
- Views are virtual tables derived from other tables that do not store data themselves. Views allow presenting data from multiple tables as a single table.
- Advantages of views include security, convenience, simplicity, and integrity. Disadvantages can include performance issues and restrictions on updating views.
- The CREATE VIEW statement is used to define views. Various types of views - horizontal, vertical, subset, and grouped - are described.
- Conditions for updating views are outlined. The CHECK OPTION can be used to restrict updates and inserts to views to only rows that satisfy the view definition.
- CASCADED and LOCAL options determine how CHECK OPTION conditions are applied