Answer the question
In order to leave comments, you need to log in
What is the meaning of relationships between tables?
There are 2 tables:
1) Title of the movie
2) Its category
Does it make sense to create links between the tables?
If I want to rename the category, the record will be updated everywhere without a link, if I delete the movie, then the link for deleting the category will not be useful to me either. category remains when movies are deleted.
Answer the question
In order to leave comments, you need to log in
Relationships are needed to ensure the integrity of the database. Integrity ensures the plausibility of information by rejecting obviously impossible values.
For example, due to restrictions, you will not be able to associate a movie with a category that does not exist in the database (wrong ID)
Database integrity is the correspondence of the information available in the database to its internal logic, structure and all explicitly specified rules.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question