So imagine 2 big mysql tables imported from Excel.
Table1 has the field SNameID, and other fields describing SNameID (Age, Size).
SNameID Age Size
Table2 has the field TeacherID, and for each teacher there is/are student/s SNameID and the describing fields (Age, Size).
TeacherID SNameID Age Size
The idea is: the Table2 has the TeacherID data and the relationship information: this are his students. It's quite a bad architecture ... but I have to use both tables as they are further.
Please tell me, when some change occurs in the Age and/or Size in any of the table, can I make mysql automatically update the other table according to the SNameID?
I just can't figure it out ... and its the problem in many of my tables ... All I need is a hint where or what to read - I can figure it our afterwards and will post a solution here as well.