Base Relations Mysql -

1

I'm a little confused with these relationships.

I'm doing a game of questions and answers.

In a group | Table | a user makes a publication with a series of questions ((in fact, that user who asks questions can only ask them who made the group))

Which other users of the same group can answer those questions.

but I have doubts about relationships.

As I said in the table users said users can register to a group. which group was created by an X user. Well then, that one that I think said group, asks questions. But only those who are registered to this group can answer them.

So, how do I relate answers?

I know that it has to go with user answers, and it seems like a CYCLE. But then what? What do I do??

and Answers have to go with questions no?

-

In fact, a user can register to another group, regardless of whether he has already created other groups.

    
asked by Alex Burke Cooper 02.12.2018 в 02:52
source

0 answers