title: Neo4j Cypher: How to convert mysql table to graph nodes for given sample?
body: <p>MySQL Table with Columns Names as (Name, Value):</p>
  
  <pre><code>Name Value
  
  A    V100
  B    V200
  C    V300
  A    V101
  B    V202
  C    V301
  </code></pre>
  
  <p>How do we convert the above table to graph:
  Labels should be as follows:</p>
  
  <pre><code>Label A
  Label B
  Label C 
  Nodes (a:A{V100}),(a:A{V101}) 
        (b:B{V200}),(b:B{V201}) 
        (c:C{V00}), (c:C{V301})
  </code></pre>
  
  <p>The Problem is that in the table the value A, B, C are generic. In future any other values may be added like D with values V400 &amp; V401 or E with values V500 &amp; V501. </p>
  
  <p>Hence, the cypher query should be generic in order to create the nodes.</p>