Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Primary keys – the basics
5. Primary keys – duplicated values
Single-column primary keys
Multi-column primary keys
NOT NULL
Review

Instruction

Perfect. And what will happen if we try to enter a row with the same ID as an existing row in the table? Let's give it a shot.

Exercise

Try to add a new movie with an ID between 1 and 9 and observe what happens. When you're finished, click the I'm done. Next exercise button to continue.