Changing the structure of a database can be difficult after you insert data. Getting it right the first (or second) time can be difficult and the reason NoSQL databases are popular.
It’s important to not forget your constraints. A key concept of relational data models is maintaining data integrity.
3. SQL Queries
Learning Objectives
Understand the syntax of common SQL queries.
Perform common CRUD operations on a database using SQL.
Create a record with INSERT.
Retrieve a record with SELECT.
Filter results with WHERE conditions.
Sort results with an ORDER clause.
Update a record with UPDATE.
Target records with WHERE conditions.
Combine the results from two tables with INNER JOIN.