Question d’entretien chez UST

What are constraints in SQL?

Réponse à la question d'entretien

Utilisateur anonyme

31 janv. 2024

NOT NULL - Ensures that a column cannot have a NULL value. UNIQUE - Ensures that all values in a column are different. PRIMARY KEY - A combination of a NOT NULL and UNIQUE . ... FOREIGN KEY - Prevents actions that would destroy links between tables.