Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 850 Bytes

File metadata and controls

44 lines (23 loc) · 850 Bytes

sql_task 7: Creating Views

Objective

The goal of this task is to understand how to create and use views for data abstraction, security, and query reusability in SQL.

Tools Used

MySQL Workbench

Deliverables

sql_Task7 contains SQL queries for:

Creating simple views

Views using JOIN and GROUP BY

Filtered and aggregated views

Updating data via views (if supported)

Using WITH CHECK OPTION

Dropping views

Key Concepts Practiced

CREATE VIEW syntax

Query abstraction for simplified data access

Data security through restricted views

Reusing complex queries as virtual tables

Understanding updateable and non-updateable views

Using WITH CHECK OPTION to enforce rules

Outcome

Gained hands-on experience in creating, using, and managing SQL views.

Learned how views can simplify query logic and secure data access.