What is constraints? Also explain the different types of constraints?
These are the set of rules applied to columns on the table. It is used to bound the type of data that can go into a table.
Types of constraints
- PRIMARY KEY
- FOREIGN KEY
- UNIQUE:
- Not NULL
BY Best Interview Question ON 05 Aug 2019