Relationships of Tables and Databases

Asked

Viewed 56 times

-1

It’s a simple question, which is restriction of integrity of relationships. Please help me, I have a TCC in a week and I haven’t finished this thing yet :'(

1 answer

0

"Integrity constraints are used to ensure the accuracy and consistency of data in a relational database."

We have some types of constraints, such as the Referential Integrity Constraint that says that a foreign key (in the case of a table) has to have a direct relationship with the primary key that is in the parent table (the other table that relates to the foreign key table).

That is, not only should there be the attribute (field) in the tables, but also the value referenced.

This video on Boson Youtube Trainings tells you exactly what you need.

Data Modeling - Integrity Constraints

Browser other questions tagged

You are not signed in. Login or sign up in order to post.