title: Python SQLite Return Default String For Non-Existent Row
body: <p>I have a DB with ID/Topic/Definition columns. When a select query is made, with possibly hundreds of parameters, I would like the fetchall call to also return  the topic of any non-existent rows with a default text (i.e. "Not Found").</p>
  
  <p>I realize this could be done in a loop, but that would query the DB every cycle and have a significant performance hit. With the parameters joined by "OR" in a single select statement the search is nearly instantaneous. </p>
  
  <p>Is there a way to get a return of the query (topic) with default text for non-existent rows in SQLite?</p>
  
  <p>Table Structure (named "dictionary")</p>
  
  <pre><code>ID|Topic|Definition   
  1|wd1|def1
  2|wd3|def3
  </code></pre>
  
  <p>Sample Query</p>
  
  <pre><code>SELECT Topic,Definition FROM dictionary WHERE Topic = "wd1" or Topic = "wd2" or topic = "wd3"'
  </code></pre>
  
  <p>Desired Return</p>
  
  <pre><code>[(wd1, def1), (wd2, "Not Found"), (wd3, def3)] 
  </code></pre>