Summary
SQL is used to interact with databases: to create and maintain data structures; to put data into a database; and to change it, to retrieve it, and delete it. SQL has commands related to DDL, DML, and DCL. In this chapter, we looked at the four SQL statements that form the basis of DML: SELECT, INSERT, UPDATE, and DELETE.
The SELECT statement was examined in detail to explain SQL concepts such as grouping and filtering, to show SQL expressions and conditions, and to explain how to use subqueries. Additionally, some relational algebra topics were covered in the section "Selecting from multiple tables".
In the next chapter, we will cover more complicated topics, such as some advanced SQL features and techniques, and the programming language ...
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