Question 3 of 10Pro Only
What are primary keys, foreign keys, and other constraints, and why are they important for data integrity?
Sample answer preview
Database constraints are rules enforced by the database engine that ensure data follows defined rules. They are essential for maintaining data integrity because they prevent invalid data from being stored, regardless of how the data is inserted or updated.
primary keyforeign keyUNIQUENOT NULLCHECKDEFAULT