python sqlite insert multiple rows from listの検索結果