title: OperationalError: near "FROM": syntax error
body: <p>I am trying to populate a a linked table but it's not working. </p>
  
  <p><code>cursor.execute("INSERT INTO typelink (CardId, TypeId) SELECT CardId WHERE CardId=:CardId FROM CardComponent; SELECT TypeId WHERE Type=: tempType FROM CardType",{"CardId":id_name,"tempType": card_type[y]})</code></p>
  
  <p>This is the error:</p>
  
  <pre><code>OperationalError: near "FROM": syntax error
  </code></pre>