YouTube01 Oct 2023
1h 43m

CS50 SQL - Lecture 3 - Writing

Podcast cover

CS50

In this episode of CS50's introduction to databases with SQL, Carter Zanke discusses how to add, update, and delete data in SQL databases, using Boston's Museum of Fine Arts (MFA) as a practical example. The episode covers SQL commands such as INSERT INTO, DELETE FROM, and UPDATE, along with SQLite commands like `.read` and `.import`. It also explores database constraints like PRIMARY KEY, NOT NULL, and UNIQUE, and delves into more advanced topics such as foreign key constraints, triggers, and soft deletions. The episode provides practical demonstrations of how to implement these concepts in a SQLite environment, including importing data from CSV files and managing data integrity.

Outlines

Part 1: SQL Basics, Data Insertion

Part 2: Data Import, CSV Handling

Part 3: Deletion, Data Integrity

Part 4: Updating, Data Cleaning

Part 5: Automation, Advanced Management

Sign in to continue reading, translating and more.

Open full episode in Podwise