Lesson 13 - Databases

Single-Table SELECT Statements

INSERT, UPDATE, and DELETE Statements

What I Learned

In this lesson I learned about databases and how to use SQL to work with them. SQL lets you get information out of a database using SELECT statements. You can also add new records with INSERT, change existing ones with UPDATE, and remove them with DELETE. I also learned that it is important to use a WHERE clause with UPDATE and DELETE so you don't accidentally change all the rows in a table. I can use this in the future if I build a website that needs to store information like user accounts or a list of products.