title: Match two nodes in cypher and and a relation between them
body: <p>An entry level question. I am trying out Desktop Neo4j v4.3.1. So far I have created to nodes with</p>
  <p><code>CREATE (n:CST {cst_id:'CST_ID_1'}) RETURN n</code></p>
  <p><code>CREATE (n:CST {csT_id:'CST_ID_2'}) RETURN n</code></p>
  <p><code>CREATE (n:CST {csT_id:'CST_ID_3'}) RETURN n</code></p>
  <p>Supposedly representing two customers. . What I would like to do is to</p>
  <ol>
  <li>Match and return the two first nodes</li>
  <li>Add an edge between the two first nodes</li>
  </ol>
  <p>So far, I have tried</p>
  <pre><code>MATCH (c:CST),(d:CST)
  WHERE c.cst_id='CST_ID_1' AND d.cst_id='CST_ID_2'
  RETURN c,d
  </code></pre>
  <p>which returns nothing. Changing the AND to OR results in returning all three nodes.</p>