Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Primary keys - the basics
Single-column primary keys
Multicolumn primary keys
Auto-increment columns and sequences
27. Revision #1


Wow! We’re pretty much done in this part of the course. Before we let you go, we've got a short review for you. Are you ready?


Let's get started with the review. Use the ERD diagram below to create the proper table.

The festival table

Stuck? Here's a hint!


CREATE TABLE festival (
    code char(8) PRIMARY KEY,
    name varchar(20),
    start timestamp,
    end timestamp,
    participants int,
    score decimal(2,1)