Skip to content

Commit faf5449

Browse files
authored
Update Readme.md
1 parent f6ed7c3 commit faf5449

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Chapter 10/Readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ CREATE OR REPLACE VIEW customer_details_vw AS
5151
JOIN country co ON ci.country_id = co.country_id;
5252
```
5353

54+
<br>
5455

56+
**Benefits of using Views**
57+
- Simplify complex business logics: view helps to simplify the complex business logic written in the SQL queries. Instead of executing the same complex query multiple times, you can create a view from it. This View can be referenced by using a simple SELECT query.
58+
- Improves data security: We can use views to display user-specific contents, this improves the security as user can be restricted from using source table with lot many information which may not be relevant.
59+
- Reduce data distraction: Views do not show the irrelevant column hence they reduce data distraction.
60+
- Preserves the appearance of original table structure: A view can preserve the appearance of the original table structure to minimize disruption to other applications.
5561

5662

5763

0 commit comments

Comments
 (0)