Answer the question
In order to leave comments, you need to log in
Is the connection correct?
There are 3 tables: News, Comment, User
The User table has a one-to-many relationship with the News table (Because one author can post multiple news items)
The Comment table has a one-to-one relationship with the News table (because one comment can be related to one news)
BUT one news item can have multiple comments, then looking at my tables, what is the relationship between the Comment and News tables?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question