Week 1 Relating

Relational Databases. Relationships: One-to-one, One-to-many, Many-to-many. Entity Relationship Diagrams. Keys: Primary Keys, Foreign Keys. Subqueries. IN. Joins: INNER JOIN, Outer Joins, LEFT JOIN, RIGHT JOIN, FULL JOIN, NATURAL JOIN. Sets: INTERSECT, UNION, EXCEPT. Groups: GROUP BY, HAVING.

How to download lecture source code into Visual Studio Code
  1. Log into cs50.dev.

  2. In your terminal window, type

    wget https://cdn.cs50.net/sql/2023/x/lectures/1/src1.zip
    

    followed by Enter in order to download a Zip file of lecture’s source code into your codespace.

  3. In your terminal window, type

    unzip src1.zip
    

    followed by Enter to unzip (i.e., decompress) that Zip file.

  4. In your terminal window, type

    cd src1
    

    followed by Enter in order to “change directory” into that src1 directory (i.e., folder).

  5. In your terminal window, type, e.g.,

    ls
    

    followed by Enter in order to see the files.