Answer the question
In order to leave comments, you need to log in
Does it make sense to create MySQL table relationships?
The question has been tormenting for a long time: does it make sense to create relationships between tables (for example, in MySQL Workbench), if everyone uses JOIN?
I'm sitting creating a diagram in IDEF1X (MySQL Workbench) notation and I understand that the links will have to be removed, so what's the point?
Maybe I'm doing something or I'm not understanding it right?
How is a selection made from related tables? Or what is the difference in sampling from related and unrelated tables?
In the literature I have read, this issue is somehow bypassed ...
I hope that I have clearly formulated the question, I will be grateful for useful links.
Answer the question
In order to leave comments, you need to log in
If you are talking about foreign keys, then they are needed to maintain referential integrity and will not simplify data sampling in any way.
Here it is well written.
Yes, data integrity ... well, as I understand it, "cascading deletion" is provided by everyone using php, MySQL does not use this feature
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question