|
INTERVIEW QUESTIONS
DATABASE
OBJECT RELATIONAL DATABASE
DETAILS
Question: Why are recursive relationships are bad? How do you resolve them?
Answer: Recursive relationships are an interesting and more complex concept than the relationships you have seen in the previous chapters, such as a one-to-one, one-to-many, and many-to-many. A recursive relationship occurs when there is a relationship between an entity and itself. For example, a one-to-many recursive relationship occurs when an employee is the manager of other employeess. The employee entity is related to itself, and there is a one-to-many relationship between one employee (the manager) and many other employees (the people who report to the manager). Because of the more complex nature of these relationships, we will need slightly more complex methods of mapping them to a schema and displaying them in a stylesheet.
|
|
|
Category |
Object Relational Database Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9272 users |
Added on |
8/4/2015 |
Views |
69511 |
Rate it! |
|
|
Question:
Why are recursive relationships are bad? How do you resolve them?
Answer:
Recursive relationships are an interesting and more complex concept than the relationships you have seen in the previous chapters, such as a one-to-one, one-to-many, and many-to-many. A recursive relationship occurs when there is a relationship between an entity and itself. For example, a one-to-many recursive relationship occurs when an employee is the manager of other employeess. The employee entity is related to itself, and there is a one-to-many relationship between one employee (the manager) and many other employees (the people who report to the manager). Because of the more complex nature of these relationships, we will need slightly more complex methods of mapping them to a schema and displaying them in a stylesheet. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is third normal form?
|
View Answer
|
|
What is ERD?
|
View Answer
|
|
When should you consider denormalization?
|
View Answer
|
|
What is the difference between hashed file stage and sequential file stage in relates to DataStage Server?
|
View Answer
|
|
What is data sparsity and how it effect on aggregation?
|
View Answer
|
|
What is the difference between star flake and snow flake schema?
|
View Answer
|
|
What is object relational database?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Object Relational Database Interview Questions & Answers - Exam Mode /
Learning Mode
|