Hello. There is a database, and for it was an ER-chart. Do I understand correctly that all communications will be one to one?
Nr: one user can have only one status (or level of rights), or one application can have only one life cycle
Hello. There is a database, and for it was an ER-chart. Do I understand correctly that all communications will be one to one?
Nr: one user can have only one status (or level of rights), or one application can have only one life cycle
“Theoretically” is correct, the situation is when one status - one user can exist, for example, when you have only one user in the database and one status :). This relationship is also useful if we have a BIG table with many fields, most of which we rarely need, and we put them in a separate table. But more often, in practice, the one-to-many relationship is much more useful, that is, when one user has one status, and one status has many users.
Source: https://ru.stackoverflow.com/questions/537657/
All Articles