Week 2 Designing
Watch the lecture
Video: https://www.youtube.com/watch?v=WXk7yDqsKxs
Week 2 Designing
Schemas. Normalizing. Data Types. Storage Classes. Type Affinities. Table Constraints: PRIMARY KEY, FOREIGN KEY. Column Constraints: CHECK, DEFAULT, NOT NULL, UNIQUE. Altering Tables: DROP TABLE, ALTER TABLE, ADD COLUMN, RENAME COLUMN, DROP COLUMN. Charlie.
How to download lecture source code into Visual Studio Code
Log into cs50.dev.
In your terminal window, type
wget https://cdn.cs50.net/sql/2023/x/lectures/2/src2.zipfollowed by Enter in order to download a Zip file of lecture’s source code into your codespace.
In your terminal window, type
unzip src2.zipfollowed by Enter to unzip (i.e., decompress) that Zip file.
In your terminal window, type
cd src2followed by Enter in order to “change directory” into that
src2directory (i.e., folder).In your terminal window, type, e.g.,
lsfollowed by Enter in order to see the files.