4.4 View Manipulation
We talked about views in Chapter 2, and you can refer back to it if you need a memory refresher. Once you’re clear about the purpose of views and their differences from tables, we can proceed to SQL statements regarding view manipulation.
To proceed with this topic, we need to know the very basics of data query language (DQL), simply because view manipulation statements must contain DQL code. We use DQL to query database tables and extract data from them, and although DQL is the subject of an upcoming chapter, we’ll briefly touch here on the SELECT keyword, which is the entry point of DQL.
To showcase our example, Figure 4.42 contains the latest ERD of the employee table.
Figure 4.42 Latest ERD of employee Table ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access