title: Error "near 'WHERE' : Syntax error in WHERE NOT EXIST SQLite
body: <p>a sqlite error like <code>near 'WHERE' : Syntax error</code> has occurred in below code:</p>
  
  <pre><code>INSERT INTO [Question_Period] ([Question_Period_ID],[Question_ID],[Period_ID],[Question_Period_Status])
  SELECT 0,[Question_ID],0,1 FROM [Question] WHERE [Question_Property] = 1 
  WHERE NOT EXISTS(SELECT 1 FROM [Question_Period] WHERE question_id in(SELECT 
  [Question_ID] WHERE [Question_Property] = 1));
  </code></pre>
  
  <p>I used <code>INSERT OR IGNORE</code> but nothing worked!</p>