Lesson 1 of 8

Impose integrity with constraints

Choose between type, NOT NULL, UNIQUE, CHECK, PRIMARY KEY and FOREIGN KEY.

34 minAdvanced SQL with PostgreSQL

By the end of this lesson

  • Associate a rule with a constraint
  • Understanding Referential Integrity
  • Test for expected failures

SQL Pro

Continue with the right access

“Impose integrity with constraints” is included from SQL Pro.

30 free days of SQL Pro on registration, subject to the 32 remaining places. No card or automatic renewal.

After signing in, you will return directly to this activity.