1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Relational Databases in SQL

Connected

Exercise

What happens if you try to enter NULLs?

Execute the following statement:

INSERT INTO professors (firstname, lastname, university_shortname)
VALUES (NULL, 'Miller', 'ETH');

Why does this throw an error?

Instructions

50 XP

Possible answers