Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you implement one-to-one, one-to-many and many-to-
many relationships while designing tables?

Answer Posted / sundar

One-to-One relationship can be implemented as a single
table and rarely as two tables with primary and foreign key
relationships.
One-to-Many relationships are implemented by splitting the
data into two tables with primary key and foreign key
relationships.
Many-to-Many relationships are implemented using a junction
table with the keys from both the tables forming the
composite primary key of the junction table.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know spatial data types - geometry and geography in sql server 2008?

1018


What are a database and a data warehouse?

1018


What is sub-query in sql server?

1196


What is stretch database in sql server?

1060


Explain can SSRS reports Cache results?

158


How sql server enhances scalability of the database system?

1207


You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

983


What is the federation in sql azure?

95


What is bit data type?

1020


Explain the properties of the relational tables?

988


Do you know what is rank function?

1071


What is user-defined multi-statement table-valued function?

1051


What is checkpoint process in the sql server?

1018


Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

910


What is dbcc updateusage?

1190