假设我在 mysql 数据库中有三个表,其中包含如下数据:
- Sections (which have a number, a title)
- Sub-sections (which also have a number and a title but the title is the same as the title of the next data type with is 'statements')
- Statements (which have a number, a title (the same as the title from Sub-sections)
正如您在上面看到的,表格子部分和语句中的字段标题是相同的,并且它们具有相同的数据。有没有更好的方法可以在我的表中表示这个,这样我就不会有重复的数据?
感谢您的任何建议