Cross Table Dependency/Constraint in SQL Database

后端 未结 2 649
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 13:10

Take the example that I have of a table called classes that holds university classes and a table called students that holds students. A class has

2条回答
  •  执念已碎
    2021-01-15 13:48

    It does not violate normalization, but it would be painful to maintain rather than doing a count in your query.

    Note: Junction tables are for many-to-many.

提交回复
热议问题