Database MN relationship

前端 未结 2 1768
粉色の甜心
粉色の甜心 2021-01-29 09:31

I\'m taking a class on database management systems (absolute beginner) and I\'m working on a database for a very simple blog system.

I have a question regarding one M:

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-29 09:52

    It's probably a combination of two things. One would be a lack of referential integrity in your database design, ie you need foreign keys. The other would be that your front end application is allowing blogs without categories to be posted.

提交回复
热议问题