answersLogoWhite

0


Best Answer

Relationships happen between two tables.

One to Many means that one objects (called tuples, or rows) of Table A is related to one or more objects in Table B.

For example, if a doctor can work only in one hospital, and we have a table of hospitals and a table of doctors, Hospitals has a One to Many relationship with Doctors, because for each hospital you will have one or more doctors working at it.

Many to Many means that for each object in Table A, one or more objects in Table B are associated, and viceversa.

In the example, if doctors are allowed to work in different hospitals, the table Hospitals and the table Doctors have a Many to Many relationship.

Now, how to implement this in a relationship DB, that is another question.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are one to many and many to many Relationship in database?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can a relational database support one to one?

Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.Yes. A one to one relationship is one of the types of relationships a relational database can have.


Why many to many relationship does not exist in Msaccess?

Many to many relationships do exist in Microsoft Access. A many to many relationship in any database is done by creating a junction table and linking it to two other tables. A many to many relationship is a combination of two one to many relationships. This can be done in any relational database, including Microsoft Access.


What are the Different types of relationship in a database?

There are mainly three types of relationships in database . These are One to One , One to Many , Many to Many. One to one relationship can be seen as relationship between husband and wife , one to many relationship can be seen as a relationship between a college and students.


How Many to Many Relationship is being developed in ER data model?

Database is the collection records . There are three types of relationships in DB : one to one , one to many, many to many.


When do you have to use an intersection entity in database?

An intersection entity is used in a database when there is a many-to-many relationship between two entities. It serves as a bridge table to resolve the many-to-many relationship by breaking it into two one-to-many relationships. Each record in the intersection entity represents a combination of records from the two related entities.


What is one to one relationship?

There are three types of relationship in a database . One to one, one to many and many to many , Example of many to many relationship is relation between teachers and students, n teachers can have m students.


What is a simple database program whose records have no relationship to one another?

flat file


What are predicates that define correct database states and relationship with in database?

schema


What is an Entity Relationship diagram for library management database?

An entity relationship diagram is a graphical documentation of a database's tables, fields, and the relationships between tables in the database. It shows all of the fields in each of the tables, and sometimes describes the data types for those fields as well as having lines between the tables that show relationships. The relationships can be one-to-many, or one-to-one relationships. A one-to-many (the most common) relationship means that one row in one of the tables will relate directly to many rows in the other table (hence the reason the data is in two tables.) One-to-one relationships are use to separate data that could be located in the same table as the other data into multiple tables.Entity relationship diagrams are helpful when querying a database as well to understand how to write the SQL to pull the data out of the database. These diagrams are useful to database designers, database administrators, computer programmers, and database users to understand the structure of the database.------------------------------------------------------------------------------------------------------------------hiii i m mehul, frnds m giving a er diagram for library management, ok..check out here, its gud..http://www.kdd.uncc.edu/Cynthia/3160Proj/Report_Final.pdfand this has all dfds, erds, class diagrams n all..http://www.docstoc.com/docs/9375857/library-mangment-system-anlysis-anddesginhave a bright carrier-------------------------------------------------------------------------------------------------------------------


What is DBMS relationship?

1.what is a Relationship in database management system?


Ternary relationship in database?

mnnk


What is the typical language for database management?

The typical language for database management is SQL. This is one of many programming languages, but this is the predominate one for database management.