If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > what are parent row, child row.....

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-15-10, 11:21
valrecx valrecx is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
what are parent row, child row.....

hi guys, what are parent row, child row, parent table, child table, in relational database?
Reply With Quote
  #2 (permalink)  
Old 06-15-10, 13:24
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,540
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

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On