Chapter Overview
- We started studying SQL by looking at its DDL
- I.e., how to create a schema with SQL
- Then we moved on to SQL's querying capabilities
- Now we're going back to the schema language!
- The reason is simple:
- We are making changes to the schema that require query execution
- These active elements are query (fragments) that are stored in the database
- Primarily, they serve to implement integrity constraints, either by checking the database or modifying it automatically