title: Conditions on a relation table n-n
body: <p>I have to create a program in which I have to describe this situation with this relations:</p>
  
  <pre><code>City - Country
  Country - Language
  </code></pre>
  
  <p>The problem is that I have to create a double-table-relation between City and Country because I have to know in a table the capital of a Country and the other cities have to be in another table.</p>
  
  <p>For instance I have to create a N-N relation with City(Capital) and Country and 1-N relation with City(not capital) and Country. How can I do that?</p>