Introduction
UNIQUE
NOT NULL
14. NOT NULL - default behavior continued
CHECK
DEFAULT
Summary

Instruction

Okay, we've got a table without the constraints, let's see what happens when we do not provide the values.

Exercise

Try to add a new game to the table rpg_game and do not provide a name for it. You may try to enter values for other fields like classes_no or complexity instead.

Stuck? Here's a hint!

For instance, type

INSERT INTO rpg_game (classes_no, complexity) VALUES (10,4);

Console

Code editor

Result

TableConsole