Results 1 to 3 of 3

Thread: Junction Table

  1. #1
    Join Date
    Dec 2010
    Posts
    6

    Unanswered: Junction Table

    Hi all, I am creating a database where I found many to many relationship TableA, TableB and TableC. where TableB is the junction table. I have some another 2 tables that I have created relationship with TableB. Is that valid? or Junction Tables should just take Forein Keys from Table A and Table C?
    If anyone can help me would be much appreciated.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    yes, it's valid that B can be in other relationships

    and yes, B should have foreign keys referencing A and C
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Dec 2010
    Posts
    6
    Quote Originally Posted by r937 View Post
    yes, it's valid that B can be in other relationships

    and yes, B should have foreign keys referencing A and C


    Thank you for your quick reply. Then I can keep going with the next step. Create query and Forms.

Posting Permissions

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