Database about a forum design issue
问题 I am currently designing a database about a forum. The database will have for now the current tables - A table about the users, about the categories. The problem comes when I want to add the QuestionAndComments table. The QuestionAndComments table must have UserId (a foreign key pointing to the users table) and ParentId (will be null if it is a question and will have some value if it is a comment - the comment could be to a question or to an other comment) of the question but it must also