Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Posts
    1

    Unanswered: what are parent row, child row.....

    hi guys, what are parent row, child row, parent table, child table, in relational database?

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Quote Originally Posted by valrecx View Post
    hi guys, what are parent row, child row, parent table, child table, in relational database?
    a parent row is a row in the parent table

    a child row is a row in the child table

    there, that takes care of two of them

    "parent" and "child" are informal terms applied to two tables which have a foreign key relationship

    the foreign key is defined in the child table, and refers to a primary or unique key in the parent table

    the relationship is one-to-many -- each parent row can have multiple child rows, but each child row can have only one parent row


    now all you need to look up is foreign key

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •