Write a short note on Relationship within a data model. Discuss about Relationship within a data model

No comments

 Relationship within a data model :-

A relationship is a mapping or linkage between two sets of data. It can be one-to-one, one-to-many, many-to-many.

1.     One-to-one: An entity in A is associated with at most one entity in B and an entity in B is also associated with at most one entity in A.


many to many relationship,one to many relationship,many to many,relationship,many to many relationship example,database many to many relationship,many to many relationships,many to one,one to many access relationship,one to many relationship in sql,access one to many relationship,laravel one to many relationship,many,ms access one to many relationship,one to many relationship in database  ,one to many,relationship,one to one,relationships,one to many relationship,many to many,one to many relationship in sql,access one to many relationship,one to many access relationship,ms access one to many relationship,one to many relationship in database,access one to many relationship query,one to many relationship in database sql,one to many access relationship examples,one to one relationship,one to one,one to many,one to many relationship,one to one relationship in database,relationship,one to one relationship access,convert one to one relationship,one to one relationship example,database one to one relationship,access 2013 one to one relationship,one to one relationship access 2013,one to one relationship access 2010,one to one relationship access 2007    ,data model,data modeling,relationship,relational data model,entity relationship diagram,logical data model,what is a data model,data model relationships without power pivot,relationship model,enity relationship model,relational data model concepts,relational data model tutorial,conceptual data model,physical data model,relational data model concepts in dbms,what is a conceptual model,data,erwin data modeler


Example: Between two entity set TEACHER and DEPARTMENT, considered the relationship HEAD-OFF. If we assumed that each department can have only one head an one person can not the HEAD-OFF more than one department, then the relationship HEAD-Off more than one department, then the relationship HEAD-OFF is one-to-one.


2.     One-to-many:-  An entity in A is associated with any number of entities in B. However an entity in B can be associated with all most one entity in A.




Example:  At a given point of time, zero, one or many patients are assigned to one hospital room that is a hospital room may have zero, one or many patients but a patient is assigned to only one hospital room then the relationship between ‘hospital room’ and ‘patient’ is one-to-many.

-à An entity in A is associated with more than one entities in B. More than one entity in B can be associated with one entity in A.



3.     Many-to-many:-  An entity in A is associated with any number of entity in B and on entity in B is associated with any number of entities in A.



Example: A surgeon may have operated on several patients. A patient may have be operated on by several surgeons. Then the relationship ‘patient’ and ‘surgeon’ is many-to-many.



No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀