I will give an example. There is a table of users of the site, each user has a login and password.
There is a table of buyers on the site, they are also users, but besides all user data they have, for example, email and balance.
There are sellers - these are users, but with login and password and phone fields.
There is a director - he has all user fields and 10 others.
There is a chief accountant - he has all the fields of the user, and 8 fields are the same as those of the director.
And so on...
So, I created a user table. Then he made the table buyers, added user id and unique fields for the buyer there. Also with the seller.
I also created another table, inserted the user id and all the fields of the remaining dudes.
On the one hand, everything seems logical. But I do not like it. Maybe there is some more beautiful solution?
Has anyone encountered such a problem?