title: how to do a SELECT with a composite key?
body: <p>I have a table with a composite key, and I want to do my SELECT query with that key, is there a way to put a name to the composite key or to do the query without having to add an AND</p>
  
  <p>let's say:</p>
  
  <pre><code>SELECT * FROM MyTable WHERE PRIMARY KEY = 12345
  </code></pre>
  
  <p>being that primary key a composite key</p>