title: Cypher: WITH is required between CREATE and MATCH
body: <p>I want to create a group of nodes, and get the result of the CREATE statement. If I do this in the Neo4j browser...</p>
  
  <pre><code>CREATE (a:Group {name: "a"})
       , (b:Group {name: "b"})
       , (c:Group {name: "c"})
  MATCH (r:Room)
  RETURN r
  </code></pre>
  
  <p>... I get a <code>Neo.ClientError.Statement.InvalidSyntax error: WITH is required between CREATE and MATCH</code>.</p>
  
  <p>I don't get this error if I create a dummy <code>WITH</code> statement...</p>
  
  <pre><code>CREATE (a:Group {name: "a"})
       , (b:Group {name: "b"})
       , (c:Group {name: "c"})
  WITH a as a
  MATCH (r:Room)
  RETURN r
  </code></pre>
  
  <p>... or if I break this up into 2 separate queries, first...</p>
  
  <pre><code>CREATE (a:Group {name: "a"})
       , (b:Group {name: "b"})
       , (c:Group {name: "c"})
  </code></pre>
  
  <p>... then...</p>
  
  <pre><code>MATCH (r:Room)
  RETURN r
  </code></pre>
  
  <p>Can you help me to understand what the <code>WITH</code> statement is doing and why it is essential if I create a single query?</p>