Find detailed and accurate answers to your questions on IDNLearn.com. Find in-depth and accurate answers to all your questions from our knowledgeable and dedicated community members.

In a relational database, what is the purpose of a constraint?
a) To define the structure and format of database tables
b) To enforce rules and ensure the integrity of data within the database
c) To create user interfaces for data entry
d) To generate reports and analytics based on the data