title: Checking duplicate while inserting in SQLite
body: <p>I am trying to insert a data into SQLite database using Python.</p>
  
  <pre><code>INSERT INTO DATA_TABLE(UID,LABEL) VALUES (NULL, "UK")  
      WHERE "UK" NOT EXISTS IN (SELECT LABEL FROM DATA_TABLE);
  </code></pre>
  
  <p>This query is dynamically generated from Python and I am checking whether the date is already exist in the table before inserting and its not working in SQLite database. 
  Getting this <code>near "WHERE": syntax error</code> error.</p>
  
  <p>Am I doing something wrong ? </p>
  
  <p>Thanks for your help.</p>