Structuring Database for Accounting

Structuring Database for Accounting · CBSE / NCERT · Page 12

  • 1 min read
This is a small part of a chapterIntroduction to Accounting: notes, questions and quiz

Full lesson

N:1 implying thereby that a set of vouchers can be created by a particular employee. The possible cardinality ratios are one to one (1:1),one to many(1:N),many to one(N:1), and many to many(N:M). Participation constraint specifies as to whether the existence of an entity type depends on its being related to another entity via a relationship type or not. The two types of such constraints are: total and partial.

Whenever semantics of reality require that every entity of an entity type must relate to another entity type, such an entity can exist only if it participates in that specific relationship. Such a participation is called total participation. For example, the participation of ACCOUNTS in CLASSIFY relationship is total participation. This is because every account must refer to at least one of the accounts type or a category of accounts.

This participation is also called existence dependency . Since every employee is not expected to prepare at least one of the vouchers, the participation of employee in PREPARED BY relationship is partial, implying that some of employee entities are related to the voucher entity via PREPARED BY relationship. In ER diagram, total participation is displayed as double line connecting the participating

Still stuck on this lesson?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →