Is it a reasonable design that two tables have an one-to-many relationship with each other?

RT

A user belongs to a group, each group has multiple users, and each group has a group leader

user (table)
userid
groupid
.

group (table)
groupid
ownerid
.

such a design from the ER diagram, each of the two tables has a 1-to-N connection to the other.
does such a design need to be optimized?

Jun.10,2021

if a user belongs to only one group, then the user can mark an attribute as whether the group leader or not.
if a user belongs to more than one group, then the group records the group leader information and saves the corresponding user id,. This is only one-to-one.
one-to-many, definitely not.

Menu