Views
A view is a virtual table based on a SQL query. This chapter introduces how to create and use views.
Create View
View with JOIN
Replace View
Drop View
View Advantages
- Simplify complex queries
- Security - hide sensitive columns
- Reusability
- Data abstraction
View Limitations
- Performance overhead
- Cannot always update
- Depends on base tables
Summary
- CREATE VIEW: Create view
- DROP VIEW: Delete view
- Views simplify queries
- Use for security and abstraction
Next Step: Learn INDEXES