I have three tables specifying important columns below
- Users(Id, username)
- Groups(Id, groupname, creator) (creator is the creator of the group)
- Association(Id, UserId, GroupId) (entries in this table include which user is in which group)
Association.UserID =Users.Id, Association.GroupId = Groups.id and also Groups.creator = Users.Id.
What I require are atleast three columns displaying all the data
- Groupname
- Group Creator (the user)
- Associated user to the group (this info is in table association)