title: Will junction table contain the foreign keys or the primary keys of the individual tables
body: <p>In this link <a href="http://www.tomjewett.com/dbdesign/dbdesign.php?page=manymany.php" rel="nofollow">here</a></p>
  
  <p>they explain how to use junction tables to get around the many-many relationship problem in relational database design.</p>
  
  <p>This line </p>
  
  <blockquote>
    <p>If there is no association class, the junction table (sometimes also called a join table or linking table) will contain only the FK attributes from each side of the association.</p>
  </blockquote>
  
  <p>From the example it seems that the junction table is containing not the <strong>FK</strong> but the primary keys of the individual tables.
  <code>Cust ID, Order Date</code> together form the composite primary key of orders and UPC is the primary key of <code>Products</code>.</p>