top of page
  • Writer's pictureEkta Aggarwal


While creating a SQL table we would want to put some restrictions/constraints on the table so that some unnecessary or duplicate values don't get fetched in our data. These constraints can be mentioned while CREATING A TABLE or ALTERING a table.

Some of the major constraints widely used are:

bottom of page