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

Answer Posted / ramesh

One to one
Parent Entity does have one Corresponding record in Child
Entity

ex : Employee and his CV

One to many

Parent Entity does have many Corresponding records in Child
Entity

ex : Employee and his Projects

many to many

Parent Entity records do have many Corresponding records in
Child Entity vice versa

ex : Employees and Employers
Employees Receive Calls from Many Employers
Employers Receive CVs from Many Employees

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What you can do to remove data from the cache and query plans from memory for testing the performance of a query repeatedly?

588


What is the database development process?

688


Who are naive users?

606


How to read and create .LDC data files which are used by linguatic dictionary.

2060


What is dbms explain in brief?

563






Explain about the storage and physical database design?

529


What are the 18 schemas?

609


Explain the role of indexing in databases?

642


How can I detect whether a given connection is blocked?

581


You are testing the performance of a query the first time you run the query, the performance is slow. the second time you run the query, the performance is fast. why is this?

525


Who are end users in dbms?

548


Explain what a database is?

613


State the acid rules?

682


On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?

561


Does QTP Support the Propjects which are running in Dot Net? As we are starting with new project in Dot net need to use automation tool?Please advice & let me know what would be the best.

1601