Data integrity in sql. This is divided into three categories.