Question
While establishing relationship between attributes how do you decide which attribute qualifies as child and which one as parent?

Answers

While establishing the relationship between attributes one can either look from business hierarchy point of view and the attribute higher in the hierarchy becomes parent of the attribute lower in the hierarchy. Parent and Child follow a one-to-many relationship. Example Time hierarchy Year > Month > Date. Here Year would be parent of Month and Date and Month parent of Date. We can also identify Parent-Child relationship from database design point of view. Here in a table the Primary Key uniquely identifies the other columns in the table and hence qualifies as child of all the other attributes from the table, in the same ways as a child in real world identifies his father (at least the biological one).   Your Comment






Search
Can you Answer!!
  • Q What is the "provider" for Mysql and command object in .net ?
  • Q What is rubygems in ruby programming language?
  • Q Which Prime Minister of India is associated with the slogan 'Garibi Hatao'?
  • Q What are benefits of this version?
  • Q Who appoints the members of Council of Ministers?
  • Q How to enable & disable quorum?
  • Q The layer of water in the oceans and lakes that separates the warmer surface layer from the deeper colder layer is called ---
  • Q Brabantio is whose father in Shakespeare's play Othello?
  • Q How do you perform functional testing under load?
  • Q Every year i have beautiful green grapes on my vines, but before they ripen they turn black. What can i do about it?
  • Q How are you monitoring for trojans and back doors?