title: Query Sqlite for multiple arguments at once and handling missing values
body: <p>Is there the possibility to do something like this inside the SQL-Query? Maybe provide a list as input-argument?
  The dates I want are consecutive, but not all dates exist in the database. If a date doesn't exist, the result should be "None".</p>
  
  <pre><code>dates = [dt.datetime(2008,1,1), dt.datetime(2008,1,2), dt.datetime(2008,1,3), dt.datetime(2008,1,4), dt.datetime(2008,1,5)]
  id = "361-442"
  result = []
  for date in dates:
      curs.execute('''SELECT price, date FROM prices where date = ? AND id = ?''', (date, id))
      query = curs.fetchall()
      if  query == []:
          result.append([None, arg])
      else:
          result.append(query)
  </code></pre>