This topic is one of the most important aspects to add consistency to database designs. Integrity constraints help maintain the semantic consistency of the data. Integrity constraints provide a means of ensuring that modifications made to the database by authorized…