filmov
tv
Constraints (NOT NULL, UNIQUE, DEFAULT, PRIMARY KEY, CHECK) in SQL with examples | SQL Tutorial
![preview_player](https://i.ytimg.com/vi/FNEwRQ7WmgA/maxresdefault.jpg)
Показать описание
• 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. Uniquely identifies each row in a table
• CHECK - Ensures that all values in a column satisfies a specific condition
DEFAULT - Sets a default value for a column when no value is specified
Please like and subscribe us.
• UNIQUE - Ensures that all values in a column are different
PRIMARY KEY - A combination of a NOT NULL and UNIQUE. Uniquely identifies each row in a table
• CHECK - Ensures that all values in a column satisfies a specific condition
DEFAULT - Sets a default value for a column when no value is specified
Please like and subscribe us.