Skip to content

Sep 10: DDL and Constraints

Learning Objectives

After today's class, you should be able to:

  • Interpret and write CREATE TABLE statements, including column constraints.
  • Write INSERT, UPDATE, and DELETE statements, and predict constraint violations.

Lesson Outline

GitHub [10 min]

  • Join the cs374f26 organization – check your inbox
  • Windows users: use Git Bash (recommended)
  • Tell git who you are – on each machine you use:
    git config --global user.name "Your Name"
    
    git config --global user.email "username@dukes.jmu.edu"
    
  • Use this command to show your configuration:
    git config --global --list
    

Security [20 min]

DB Design [45 min]

Your To-Do List