Course 1 Module 03 Lesson 4
Course 1 Module 03 Lesson 4
Module 3
Relational Data Model and
CREATE TABLE Statement
• Primary key
• Foreign key
Subject • Unique
• Required (NOT NULL)
• Check
• Inline
Placement • External
CONSTRAINT ValidStdClass
CHECK ( StdClass IN ('FR','SO', 'JR', 'SR' )
CONSTRAINT EnrollDropValid
CHECK ( EnrollDate < DropDate )