title: Python insert array into mysql table column avoiding record duplication
body: <p>I have a simple array like this:</p>
  
  <pre><code>a=['a','b','c']
  </code></pre>
  
  <p>I need to insert all the "a" elements into Mysql table 'items' and column 'names' avoiding to insert the element if it's already present in 'names' column, avoiding iteration and multiple INSERT query.</p>
  
  <p>Thanks</p>