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
How to generate OIDS
Explain about post-relational databases?
What are the types of database model?
What is database design and development?
How would you design a database for an online site, which would average a million hits a day?
Any sample or model question of punjab national bank for deputy manger IT or any sample of PNB.any1 plz do send on
What are the key features of dbms?
What is an application role and explain a scenario when you would use one?
How to replace not in with not exist?
I HAVE A PI ON COL A THE NEXT DAY I WANT CHANGE THE PI ON COL B? PLS SEND ME THE ANS
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?
You have a table with three columns: amount1, amount2, and amount3 in a single row only one of these three columns will have a value and the other two will be null. Write a sql query to retrieve the values from these columns?
How to use timestamp datatypes
Explain about the storage and physical database design?
What is the database development process?